[APP-514] Fix weird scrollbar position on profile screen (#497)

* add scrollIndicatorInset to ViewSelector FlatList

* Update ViewSelector.tsx

* Update ViewSelector.tsx
zio/stable
Ansh 2023-04-20 10:32:49 -07:00 committed by GitHub
parent 04e0ebe8fc
commit 74a1910e12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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>
)