-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS 13 Reorienting screen can put sim in corner #65
Comments
@jonathanolson said today he will investigate while he has the iOS 13 iPad |
Should be fixed in master (as part of the commit for #64), can you verify? |
Looks good on master. Checked two different sims |
For phetsims/qa#427. If you have the sim in portrait. Lock the iPad by pressing the upper right button, and then unlock it, the sim will be in the corner. If you reorient it fixes itself. |
This does look like an issue, however iPadOS is reporting the incorrect window.innerWidth and window.innerHeight, so it's not just an event listener that would be needed. I haven't figured out a workaround yet. |
I haven't found a working work-around for this. We properly receive the events that the sim has resized, but we're being given buggy information (even after), so I'm somewhat at a loss of how to fix it besides submitting a bug report. |
I can't reproduce this on my iPhone. Can we verify if this is a problem on the live 13.1 iPadOS? |
It does happen on the live iPadOS. Can confirm that it is not an issue on iPhone |
I can look into potential workarounds (that might not be pretty or performant at all), but I can't see any other avenues besides that or "wait for Apple to fix it". @ariel-phet thoughts? |
Have we given Apple a self-contained reproducible example and bug report? |
Not for this issue yet. |
Considering @KatieWoe comment #65 (comment) this now seems like a less likely use case, and reorienting fixes the condition. Closing since does not seem realistic/worth fixing. |
Found when looking at #64.
If you start a sim in portrait, move to landscape, and then move back to portrait, the sim will shift to take up only the upper left corner of the screen. You must be out of full screen to achieve this, but once you have, full screen will show the bug as well.
The text was updated successfully, but these errors were encountered: