Toolbar icons disappear after hiding app on iPad
Steps to reproduce
- Open app on iPad
- Go back to home screen
- Wait a few seconds
- Open app
- Notice the toolbar being empty and the view being scrolled up for the title to be in the toolbar
https://github.com/vector-im/element-x-ios/assets/29716248/d7cb2a21-d7c0-4c29-8a94-87549c4d8bf9
Outcome
What did you expect?
or at least
In my opinion, hiding the app should never update the scroll position, so the first image is the actually expected one.
What happened instead?
This can be fixed by restarting the app or resizing it small enough to show the room list and the room timeline on different screens (like on the iPhone), e.g., by entering split screen or in stage manager.
Your phone model
iPad Pro
Operating system version
iPadOS 17.0.3
Application version
1.3.3 (76)
Homeserver
Synapse 1.94.0
Will you send logs?
No
As noted by #2604 this also affects the detail's toolbar when a room is selected.
Just updated to 1.7.3 and this is still an issue.
Makes it really hard to report bugs on iPadOS when I can't get to the menus.
Well the good news it that Apple introduced new APIs that would allow us to rewrite a bunch of the code around this. The bad news is that we need to wait until we switch over to iOS 18
there is not a simple fix for this without rewriting and loosing support for ios 16?
there is not a simple fix for this without rewriting and loosing support for ios 16?
To directly answer the question, the new iOS 18 APIs we'd like to use back-deploy to iOS 16, so this change wouldn't directly result in 16 being cut off (although it's possible to use different APIs on different OS versions so it wouldn't necessarily be cut off if the back-deployment wasn't there).
Unrelated to this change, we only intend to guarantee support for the 2 most recent major iOS versions in Element X. There will always be a bit of a "migration" period where we support 3 while we figure out the right point at which we cut off support for the older one.