Skip Navigation

[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.

30
30 comments
  • 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 🥲

      • Can you try swapping it so it scrolls to the top of the current view, then goes back on second tap? I think that’s how Apollo does it. Ivory (and Tweetbot) has the exact same flow as Apollo did if you need a working comparison 🙏

  • Here’s a preview of this feature, for those technically-inclined 🚋🫡

    https://github.com/mlemgroup/mlem/pull/615

    • 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 ❤️

      • I feel you 😥 The performance issue really is the major hurdle here. I’m trying to figure that one out I promise 🥹

    • I’m testing it now! This seems very close to what I was looking for 😍🫶 you’re amazing 🙌

    • I just want to point out, that I prefer the classic icon in this build over the TestFlight build 🙏

    • Any updates to this? I notice the branch is pretty out of date now. It's way out of my current abilities to update the branch myself now 🥲

      • Will do this sometime this week, then get the feature merged in!

        In the meantime, there’s a temporary thing coming before that lets you tap to scroll to top (not the same PR or feature set)

    • Latest 1.1.1 update is soooo close 🥹🙏🙌🙌🙌🙌

You've viewed 30 comments.