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>
This commit is contained in:
Innei
2025-02-23 15:45:41 +08:00
parent 79631bbcbc
commit 3b5fb5febe
@@ -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}
>