Tab to tap and Scroll Up
Checklist
- [x] I made sure that there are no existing issues - open or closed - to which I could contribute my information.
- [x] I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
- [x] I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
- [x] I have taken the time to fill in all the required details. I understand that the request will be dismissed otherwise.
- [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?