I did some of my home work this morning looking at my resize/safari toolbar issue and looked for a fix using css, js or a manifest. Didn’t go through all of my attempts at this very moment: The moment I realized that you can get this exact same behavior straight from the PG. Any PG. The PG. On iOS/Safari, There is a blank space left under the canvas where the toolbar ‘auto-hides’ when you switch orientation from portrait to landscape. If you set Safari to go FS, there is no problem anymore.
- Open Safari on iOS
- Open PG
- Switch from portrait to landscape and you’ll see the blank space left from the hidden toolbar. If you go back to portrait, it will remain. If you click out of the scene (recall the toolbar) and then click/tap in the scene again, it will resize to fit.
So, I suppose question is: how can I instruct the scene/window to resize according to whether or not the faen toolbar is displayed? And then my second question would be, is there anything that can be done so that this behavior would not occur in the PG?
Thanks for your input if you have some… Meanwhile, I’m going to continue a little with my tests on device orientation detection and resizing.
Edit: Quickly did some more tests on more iOS/Safari with older type devices and got all sorts of different results. Tested ipad mini2 and 3. Tested iOS12.3.x, iPhone 5c. 13.4 on iPad. Tested iOS 14.4 iPhone6 (with a pending update).
- Had no issue on iPads
- The old iOS 12.x iPhone 5c displays an oversized BJS banner but the canvas resizes correctly.
I will apply the pending update on the iPhone 6 and see if this removes the bug. (I had some experiences alike with Apple or also Windows, where a pending update would create some faen issue).
Edit 2: I have now applied latest 14.4.2 update on (what I believe to be an entry level device for 3D commerce), iPhone 6s device, but the issue remains.