You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Viewing the most basic example https://aframe.glitch.me/ on iPhone SE or iPad Pro 12.9" using Firefox and Safari, when you change device orientation the sphere, cylinder and cube can become "squished", so the sphere is ovoid etc.
On the iPhone this happens when the browser is showing the controls, and also when started from a Safari Add to Home icon.
On the iPad 12.9", this doesn't happen when the browser controls are showing, but does when the scene is started from a Safari Add to Home icon.
A-Frame Version:0.8.0
Platform / Device: Firefox and Safari on iOS / iPhone SE & iPad Pro 12'9"
However, there's already been a fix added for that (#3282), and so this appears to be something else. Specifically, it has do to with how Mobile Safari returns the width and height of the window. Inspired by the article above and how it's done on apple.com, I found out that this bug goes away if we read the size of the viewport from document.body.offsetWidth and -Height instead of from window.innerWidth and -Height.
Description:
Viewing the most basic example https://aframe.glitch.me/ on iPhone SE or iPad Pro 12.9" using Firefox and Safari, when you change device orientation the sphere, cylinder and cube can become "squished", so the sphere is ovoid etc.
On the iPhone this happens when the browser is showing the controls, and also when started from a Safari Add to Home icon.
On the iPad 12.9", this doesn't happen when the browser controls are showing, but does when the scene is started from a Safari Add to Home icon.
The text was updated successfully, but these errors were encountered: