Skip to content

Commit

Permalink
Mobile - KeyboardAwareFlatList - Set scrollEnabled to false for the F…
Browse files Browse the repository at this point in the history
…latList component to avoid an error message, scroll is not actually needed within the FlatList since the ScrollView is the component that handles it
  • Loading branch information
Gerardo committed Aug 1, 2023
1 parent d3c6ce8 commit 1cc77d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export const KeyboardAwareFlatList = ( {
scrollEventThrottle={ 16 }
style={ style }
>
<FlatList { ...props } />
<FlatList { ...props } scrollEnabled={ false } />
</AnimatedScrollView>
);
};
Expand Down

0 comments on commit 1cc77d8

Please sign in to comment.