diff options
author | Ansh <anshnanda10@gmail.com> | 2023-04-20 10:32:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-20 12:32:49 -0500 |
commit | 74a1910e1252e9dd58cde66b0996dea998191277 (patch) | |
tree | c8154629d28bc2bb07ff1f1bdba604e032d765eb /src | |
parent | 04e0ebe8fc4ec32501cc4138e0357308a171807c (diff) | |
download | voidsky-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')
-rw-r--r-- | src/view/com/util/ViewSelector.tsx | 1 |
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> ) |