Skip to content

Commit

Permalink
fix(mobile): disable scroll-to-top for timeline view selector
Browse files Browse the repository at this point in the history
- Disabled scroll-to-top behavior for horizontal ScrollView in TimelineViewSelector
- Prevents unintended scrolling when tapping the status bar

Signed-off-by: Innei <tukon479@gmail.com>
  • Loading branch information
Innei committed Feb 23, 2025
1 parent 79631bb commit 3b5fb5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/mobile/src/modules/screen/TimelineViewSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export function TimelineViewSelector() {
<View className="flex items-center justify-between py-2">
<ScrollView
horizontal
scrollsToTop={false}
contentContainerClassName="flex-row gap-3 items-center px-3"
showsHorizontalScrollIndicator={false}
>
Expand Down

0 comments on commit 3b5fb5f

Please sign in to comment.