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 (#53237)
  • Loading branch information
Gerardo Pacheco authored Aug 2, 2023
1 parent a00bf43 commit ed63cbe
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 ed63cbe

Please sign in to comment.