about summary refs log tree commit diff
path: root/src/view/com/util/ViewSelector.tsx
diff options
context:
space:
mode:
authorAnsh <anshnanda10@gmail.com>2023-04-20 10:32:49 -0700
committerGitHub <noreply@github.com>2023-04-20 12:32:49 -0500
commit74a1910e1252e9dd58cde66b0996dea998191277 (patch)
treec8154629d28bc2bb07ff1f1bdba604e032d765eb /src/view/com/util/ViewSelector.tsx
parent04e0ebe8fc4ec32501cc4138e0357308a171807c (diff)
downloadvoidsky-74a1910e1252e9dd58cde66b0996dea998191277.tar.zst
[APP-514] Fix weird scrollbar position on profile screen (#497)
* add scrollIndicatorInset to ViewSelector FlatList

* Update ViewSelector.tsx

* Update ViewSelector.tsx
Diffstat (limited to 'src/view/com/util/ViewSelector.tsx')
-rw-r--r--src/view/com/util/ViewSelector.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/view/com/util/ViewSelector.tsx b/src/view/com/util/ViewSelector.tsx
index 82351cf08..ba0780862 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
       />
     </HorzSwipe>
   )