-
Notifications
You must be signed in to change notification settings - Fork 15
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
Switching screen orientation on mobile resets contents of page #101
Comments
Might be related to Issue #35 |
By contents of page, do you mean that it switches the tab? Or do you mean that the tab stays the same, but the physical page contents (eg. inputs, toggles) become reset? Also, is this happening on |
I failed to reproduce this on my iPhone 8 (iOS 15.5) so could you attach images or a video of the problem? |
Strangely enough this only seems occurs when going from horizontal to portrait when added to home screen, and has the same behavior as refreshing the page. On home screen the date is reset, in clubs the tab is reset, in utilities the tab remains the same but all input fields are wiped and the map closes, etc. |
I suspect this is related to the iPhone 12 screen, when viewed horizontally, being wide enough to exceed the breakpoint for a medium-sized screen and cause a full layout rerender. Going from a medium to phone screen width in inspect element does cause the behavior you describe. Funnily enough, the "rerendering the whole app" issue was fixed in #96 (at least according to web emulator, you can test on preview URL) when layout was reworked to not return different |
Happens on iPhone 12 running iOS 15.5, unsure about other devices/OS
The text was updated successfully, but these errors were encountered: