Scroll index letters are cropped in landscape orientation
Checklist
- [x] I can reproduce the bug with the latest versions.
- [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), in the README and my problem isn't listed.
- [x] I have taken the time to fill in all the required details. I understand that the bug report may get dismissed otherwise.
- [x] This issue contains only one bug.
Affected Android/Custom ROM version
Lineageos-18.1
Affected device model
Sony Xperia 1ii
How did you install the apps?
Google Play Store
Which apps are affected?
Contacts
Steps to reproduce the bug
Launch Contacts or Phone in Contacts tab and switch orientation to landscape.
Expected behavior
Either static Alphabet or dynamical when reaching N it will scroll to O and continue showing rest?
Test layouts
Actual behavior
Actual visual issue.
Screenshots/Screen recordings
No response
Additional information
No response
I see the following ways to solve this:
- Make the letters scroll when user is scrolling using fast scroller
- Replace the letters with a scrollbar similar to how it's done in messages for conversations but instead of displaying the name in the bubble, it would display the letter.
- Divide the contact list by letters similar to how it's done in Google Contacts.
With the third option, https://github.com/FossifyOrg/General-Discussion/issues/305 can also be implemented like Google Contacts with the favorite contacts at the top but it kind of defeats the purpose of having a separate favorites tab.
As a sidenote my Display is set to Font size:Largest , Display size:Small if it matters..
It looks like you are using reddit fastscroll code, in which case, you could try the solution mentioned in this post: https://github.com/reddit/IndicatorFastScroll/issues/36
also look at updated library here: https://github.com/tibbi/IndicatorFastScroll