Skip to content

Commit 3b5fb5f

Browse files
committed
fix(mobile): disable scroll-to-top for timeline view selector
- 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>
1 parent 79631bb commit 3b5fb5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/mobile/src/modules/screen/TimelineViewSelector.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export function TimelineViewSelector() {
3030
<View className="flex items-center justify-between py-2">
3131
<ScrollView
3232
horizontal
33+
scrollsToTop={false}
3334
contentContainerClassName="flex-row gap-3 items-center px-3"
3435
showsHorizontalScrollIndicator={false}
3536
>

0 commit comments

Comments
 (0)