Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Determine current modal height and/or current position #484

Open
Bartosz-L opened this issue Apr 20, 2023 · 0 comments
Open

Determine current modal height and/or current position #484

Bartosz-L opened this issue Apr 20, 2023 · 0 comments

Comments

@Bartosz-L
Copy link

Bartosz-L commented Apr 20, 2023

Is your feature request related to a problem? Please describe.
Is it possible to determine current modal height? I have modal on top of react-native-maps and on the map itself there are few buttons on the bottom (like geolocation etc). I would like to make them (buttons) jump up along with modal top edge based on the modal current position. Unfortunately I can't find any way to determine its current position.

Describe the solution you'd like
Some callback which gives current height/position of the modal.

Describe alternatives you've considered
Buttons inside the modal but absolutely positioned on top of the modal. But in my case when the modal is closed I would need to render them separately on the map as they need to be visible always.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant