Skip to content

Commit

Permalink
update popover max height
Browse files Browse the repository at this point in the history
  • Loading branch information
suneox committed Mar 21, 2024
1 parent b692714 commit 750d321
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const useEmojiPickerMenu = () => {
const [preferredSkinTone] = usePreferredEmojiSkinTone();
const {windowHeight} = useWindowDimensions(true);
const StyleUtils = useStyleUtils();
const listStyle = StyleUtils.getEmojiPickerListHeight(isListFiltered, windowHeight * 0.95);
const listStyle = StyleUtils.getEmojiPickerListHeight(isListFiltered, windowHeight);

useEffect(() => {
setFilteredEmojis(allEmojis);
Expand Down
2 changes: 1 addition & 1 deletion src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1639,7 +1639,7 @@ const styles = (theme: ThemeColors) =>

popoverInnerContainer: {
paddingTop: 0, // adjusting this because the mobile modal adds additional padding that we don't need for our layout
maxHeight: '95%',
maxHeight: '100%',
},

menuItemTextContainer: {
Expand Down

0 comments on commit 750d321

Please sign in to comment.