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
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}