diff options
author | dan <dan.abramov@gmail.com> | 2023-11-13 21:03:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-13 13:03:47 -0800 |
commit | 82177613635c0f10f0af5be63db4b15131ccc89f (patch) | |
tree | 393100dedcbc61a86f2bb75081ecf0f3ff7100ad /src/view/com/util/Views.web.tsx | |
parent | bb4ed3cd49761a0671125451e2e6f0f9993d0e17 (diff) | |
download | voidsky-82177613635c0f10f0af5be63db4b15131ccc89f.tar.zst |
Fix jump for web pager (#1884)
Diffstat (limited to 'src/view/com/util/Views.web.tsx')
-rw-r--r-- | src/view/com/util/Views.web.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/util/Views.web.tsx b/src/view/com/util/Views.web.tsx index 1c2edc0cc..5a4f266fd 100644 --- a/src/view/com/util/Views.web.tsx +++ b/src/view/com/util/Views.web.tsx @@ -108,9 +108,9 @@ export const FlatList = React.forwardRef(function FlatListImpl<ItemT>( <Animated.FlatList ref={ref} contentContainerStyle={[ + styles.contentContainer, contentContainerStyle, pal.border, - styles.contentContainer, ]} style={style} contentOffset={contentOffset} @@ -135,9 +135,9 @@ export const ScrollView = React.forwardRef(function ScrollViewImpl( return ( <Animated.ScrollView contentContainerStyle={[ + styles.contentContainer, contentContainerStyle, pal.border, - styles.contentContainer, ]} // @ts-ignore something is wrong with the reanimated types -prf ref={ref} |