From 74a1910e1252e9dd58cde66b0996dea998191277 Mon Sep 17 00:00:00 2001 From: Ansh Date: Thu, 20 Apr 2023 10:32:49 -0700 Subject: [PATCH] [APP-514] Fix weird scrollbar position on profile screen (#497) * add scrollIndicatorInset to ViewSelector FlatList * Update ViewSelector.tsx * Update ViewSelector.tsx --- src/view/com/util/ViewSelector.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/view/com/util/ViewSelector.tsx b/src/view/com/util/ViewSelector.tsx index 82351cf08e..ba0780862d 100644 --- a/src/view/com/util/ViewSelector.tsx +++ b/src/view/com/util/ViewSelector.tsx @@ -114,6 +114,7 @@ export function ViewSelector({ onEndReachedThreshold={0.6} contentContainerStyle={s.contentContainer} removeClippedSubviews={true} + scrollIndicatorInsets={{right: 1}} // fixes a bug where the scroll indicator is on the middle of the screen https://github.com/bluesky-social/social-app/pull/464 /> )