Closed KatieWoe closed 5 years ago
@jonathanolson said today he will investigate while he has the iOS 13 iPad
Should be fixed in master (as part of the commit for https://github.com/phetsims/phet-core/issues/64), can you verify?
Looks good on master. Checked two different sims
For https://github.com/phetsims/QA/issues/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.
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 https://github.com/phetsims/phet-core/issues/65#issuecomment-532289924 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 https://github.com/phetsims/phet-core/issues/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.