Skip to content

Commit

Permalink
Fix jump for web pager (#1884)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored Nov 13, 2023
1 parent bb4ed3c commit 8217761
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/view/com/util/Views.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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}
Expand Down

0 comments on commit 8217761

Please sign in to comment.