[Feature Request] First tab icon tap should jump to the top
The biggest feature I notice missing in almost all Lemmy apps, is jumping to the top on the first tap of the tab icon of the view you’re in.
E.g. you’ve scrolled down a bit while in the Posts tab, then you tap the Posts icon, in Apollo, it would jump to the top of the list view in Posts, then second tap would take you to the communities subscribed slideout view.
Would love to see both the first and second tap functionality added to the tab icons as it’s a great quality of life feature IMO.
This is ALMOST ready (famous last words, once again) - I’ve been using it myself for the past few weeks, and literally just merged it into the main repo 🥲 Feel free to chime in on possible customization options 😎
Almost made it into the last TestFlight build, but I had to rework the entire thing because of a nasty lil bug that made it unusable.
Technical Stuff: Programmatic dismissal and UI dismissal via SwiftUI environment have different behaviours…the former was what I built it with initially, but it totally wasn’t built for this use case 😕
Yeah, I noticed this myself as a former Apollo user that I keep tapping the icon and nothing happens.
While I wait for this feature to be implemented I resort to the good ol' tapping the status bar.
I forget if Apollo’s was the system behaviour (I.e. skip all the intermediate pages and go the first page if you have a bunch of pages showing, then scroll to top).
We currently have it so it goes back to the previous page, one by one.
I forget if that’s how Apollo did it or not. In my mind I had thought it scrolled to the top of the current view first then went back one. Too bad we can’t check 🥲
I’ve been using this build for a week or so now. And I gotta say, it’s definitely the missing feature for me 🥲 Even with the little delay in tapping the icon, I am finding it very much an improvement for me to use the app ❤️