When using ref.current?.measureInWindow
, the y
value is off.
- Clone this repo
- Run
npm install && npm run dev
to install the dependencies and start Expo Go in an iOS simulator. - Press the "Press here to open" button, the red square should appear right below the button.
- Check with android and web platforms as well
- Run
git checkout transparent-header
- Reload the apps
- Press the button again. The red square should now appear right below the button for iOs and web. It should still be off on android.