Skip to content

Commit

Permalink
1104-flatlist-gesture-handling-enhancement - small improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
LunatiqueCoder committed Aug 13, 2024
1 parent c934f4c commit 75aafc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/media-console/src/hooks/usePanResponders.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const usePanResponders = ({
onEnd,
pan: {horizontal = true, inverted = false, parentList} = {},
}: PanRespondersProps) => {
const {ref, scrollEnabled} = parentList || {};
const {ref, scrollEnabled = true} = parentList || {};

const enableParentScroll = () =>
ref?.current?.setNativeProps({scrollEnabled});
Expand Down

0 comments on commit 75aafc8

Please sign in to comment.