Scroll to top on tab button click #45

Open
opened 2025-10-31 17:04:29 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @shreyas1599 on GitHub (Apr 22, 2020).

When in a particular tab, after scrolling down a lot, if the tab button is clicked, app scrolls all the way to the top instead of the user scrolling all the way back up. I got the idea from Twitter and Instagram which implement this.

This might seem to be an extension of #54. I just checked how Instagram implements this. If you aren't at the root of a tab bar, it returns to the root on tab bar click. If you are already at the root, it scrolls to the top.

Originally created by @shreyas1599 on GitHub (Apr 22, 2020). When in a particular tab, after scrolling down a lot, if the tab button is clicked, app scrolls all the way to the top instead of the user scrolling all the way back up. I got the idea from Twitter and Instagram which implement this. This might seem to be an extension of #54. I just checked how Instagram implements this. If you aren't at the root of a tab bar, it returns to the root on tab bar click. If you are already at the root, it scrolls to the top.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/git-touch#45