Skip to content

Commit

Permalink
Fix jump for web pager
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Nov 13, 2023
1 parent e193893 commit c60758c
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 c60758c

Please sign in to comment.