You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Mobile PR list scrolls the filter pills under the header when you change a filter #29032
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/mobile
Steps to reproduce
On iOS, open the PRs tab with an environment whose repositories have more open pull requests than fit on screen.
With the list at the top, open the Filter by involvement pill and choose By you.
Open it again and choose All PRs. The list it switches to must already be loaded, so switch to it once beforehand if needed.
The same happens with every filter pill: switching Filter by state (for example Closed → Open) or Filter by author (Me → All authors) to a list that is already loaded and longer than the screen.
Expected behavior
The list stays at its top, with the filter pills visible just below the header.
Actual behavior
The list jumps up by the height of the header (116pt on an iPhone 18 Pro). The filter pills and the first pull request end up hidden under the header, and you have to scroll up by hand to change the filter again.
Before, on main: By you → All PRs jumps, and Closed → Open jumps.
before.mp4
It reproduced on every switch to an already-loaded long list. A list that is still loading, or one shorter than the screen, ends up in the right place, because iOS pulls a short list back to its top.
iOS simulator, iPhone 18 Pro, iOS 27.2, development client built from main. Also seen on a physical iPhone running the T3 Code beta.
Logs or stack traces
# Every filter change asks the list to scroll to its top (-116 here).# React Native's iOS scrollTo clamps that to 0 because it ignores the header inset UIKit adds.
filter change -> scrollToOffset(-116) insets.top=116
scroll y=0.0
Workaround
Scroll back up by hand after changing a filter.
The same regression from #24284 was fixed on the PR detail tabs in #26064 and on Home in #27155. #27155 notes that PullRequestsScreen scrolls back to the top the same way but left it out.
Thanks for the detailed reproduction. #28125, merged as 4df0c1302a, supplies the header as a native content inset, allowing the filter reset to reach the top without being clamped under the header.
Activity
juliusmarminge commentedon Nov 9, 2026
Thanks for the detailed reproduction. #28125, merged as 4df0c1302a, supplies the header as a native content inset, allowing the filter reset to reach the top without being clamped under the header.