I am working on a React Native app. I have a button on the screen. When the user clicks the button, I make a little menu pop up adjacent to the button using a Modal component. The menu is positioned absolutely inside the Modal.
Issue: the y-position is inconsistent among devices. It's perfect on iPhone. On iPhone X it's about 20 pixels above where I want it. On Android it's about 4px above where I want it.
The button (which is also position:absolute) does not have this problem. It appears in the same location on every device.