Fix jump for web pager (#1884)
parent
bb4ed3cd49
commit
8217761363
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue