Skip to content

Commit

Permalink
fix: no scrolling on no results text
Browse files Browse the repository at this point in the history
Signed-off-by: Anjana Mendiratta <expertsquarrel@gmail.com>
  • Loading branch information
GItGudRatio committed Jul 11, 2023
1 parent 702d8e2 commit 20dd73a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/EmojiPicker/EmojiPickerMenu/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ class EmojiPickerMenu extends Component {
removeClippedSubviews={false}
contentContainerStyle={styles.flexGrow1}
ListEmptyComponent={<Text style={[styles.disabledText]}>{this.props.translate('common.noResultsFound')}</Text>}
scrollEnabled={this.state.filteredEmojis.length !== 0}
/>
<EmojiSkinToneList
updatePreferredSkinTone={this.updatePreferredSkinTone}
Expand Down

0 comments on commit 20dd73a

Please sign in to comment.