instea/react-native-popup-menu

Popup menu goes under notch in iphone 12

itsramiel opened this issue · 3 comments

Whole app is wrapped inside MenuProvider, but popup menu is not respecting safeArea

WhatsApp Image 2021-12-13 at 7 22 13 PM

hi... quick check in the code - it looks like popover does not "reflect" safearea (unlike default ContextMenu renderer). However data are available, so PR (or own renderer) shouldn't be that hard.

something like

export const fitPositionIntoSafeArea = (position, layouts) => {

would you be able to push such change to Popover. I am really not that good.

:(