Fix jump for web pager (#1884)

zio/stable
dan 2023-11-13 21:03:47 +00:00 committed by GitHub
parent bb4ed3cd49
commit 8217761363
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -108,9 +108,9 @@ export const FlatList = React.forwardRef(function FlatListImpl<ItemT>(
<Animated.FlatList <Animated.FlatList
ref={ref} ref={ref}
contentContainerStyle={[ contentContainerStyle={[
styles.contentContainer,
contentContainerStyle, contentContainerStyle,
pal.border, pal.border,
styles.contentContainer,
]} ]}
style={style} style={style}
contentOffset={contentOffset} contentOffset={contentOffset}
@ -135,9 +135,9 @@ export const ScrollView = React.forwardRef(function ScrollViewImpl(
return ( return (
<Animated.ScrollView <Animated.ScrollView
contentContainerStyle={[ contentContainerStyle={[
styles.contentContainer,
contentContainerStyle, contentContainerStyle,
pal.border, pal.border,
styles.contentContainer,
]} ]}
// @ts-ignore something is wrong with the reanimated types -prf // @ts-ignore something is wrong with the reanimated types -prf
ref={ref} ref={ref}