Phone icon indicating copy to clipboard operation
Phone copied to clipboard

Scroll to the top when tapping a bottom navigation tab

Open Softweb-SA opened this issue 1 month ago • 1 comments

Checklist

  • [x] I searched open and closed issues for an existing request for this interaction.
  • [x] I searched the organization's discussions for an existing request.
  • [x] I read the app's bundled FAQ text; this interaction is not listed.
  • [x] I have taken the time to fill in the required details and understand that incomplete requests may be dismissed.
  • [x] This issue contains only one feature request.
  • [x] I have read and understood the contribution guidelines.

Feature description

Tapping a bottom navigation tab should return its list to the top. This would apply to Contacts, Favorites, and Call history, both when switching to a tab by tapping it and when tapping the already selected tab.

Swiping between pages should preserve each list's scroll position. The jump should be immediate, rather than animating through thousands of rows.

Why do you want this feature?

With a large address book or long call history, returning to the top manually requires substantial scrolling. My test device has 3,520 contacts containing phone numbers and 1,608 call-log entries. A tab tap provides a quick way to get back to the beginning of a list.

Additional information

I have a working implementation based on Fossify Phone 1.11.1, tested on my Huawei LYA-L29 running Android 10. I verified that tapping the tabs returns their lists to the top and swiping between tabs preserves the scroll position.

The patch handles tab clicks separately from page selection and uses scrollToPosition(0) on the corresponding list. This is a usability improvement, separate from my performance fixes; I am not claiming a benchmark speedup for it.

I'd like to contribute this as a focused PR. Your contribution guidelines require the help wanted label before submission. Could a maintainer add it so I can open the PR?

Softweb-SA avatar Oct 12 '26 20:10 Softweb-SA

Please open a new issue using the appropriate issue form and keep its required sections and labels intact. If your GitHub client does not support issue forms, please use a web browser.

fossifybot avatar Oct 12 '26 20:10 fossifybot