mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-05-06 19:58:49 -05:00
[GH-ISSUE #63] Scroll to top on tab button click #2193
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shreyas1599 on GitHub (Apr 22, 2020).
Original GitHub issue: https://github.com/pd4d10/git-touch/issues/63
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.