Channel page scroll position resets when switching tabs
Checklist
- [x] I searched the open and closed issues and this isn't there yet.
- [x] This issue is about one bug.
MeTube version
3.1.1
Phone or tablet, and Android version
Infinix Note 40X, Android 14
Signed in to a Google account?
Yes
Network when it happened
Wi-Fi
What happened
Description:
When browsing a channel's page, switching between tabs such as Videos, For You, Popular videos, and Collaborations appears to reset the page's scroll position. Instead of maintaining the current position, the page jumps back toward the top, forcing users to scroll down again.
This makes browsing channels frustrating, especially when switching between tabs to explore different types of content.
Steps to Reproduce:
- Open a channel's page.
- Scroll down through its content.
- Switch to another tab, such as Popular videos or For You.
- Observe that the page's scroll position resets.
- Switch between tabs again to reproduce the behavior.
Expected Behavior:
The app should ideally preserve the scroll position for each tab when switching between them, or at least avoid unexpectedly jumping back to the top.
Actual Behavior:
Switching between channel tabs causes the page to reset its scroll position, requiring users to scroll down again to reach where they were browsing.
Additional Information:
Ideally, each tab should remember its own scroll position when users switch away and return, providing a smoother browsing experience. See the attached screen recording for a demonstration.
Video link
No response
Diagnostic log
No response
Anything else
https://github.com/user-attachments/assets/bab42893-5548-4f22-b4d7-e8da55341b4f
Fixed. Each channel tab now remembers how far you scrolled, so switching from Videos to Popular and back puts you right where you were, whether you tap the tab or swipe.
It's out in 3.1.5 Orizon, or update from Settings > About > Check for updates. If it still acts up for you, let me know here and I'll reopen it.