Skip to content

Conversation

@HainanZhao
Copy link

This is to fix the Safari 15 bottom nav bar issue.
In IOS 15, when user scroll up, the navigation bar in safari may automatically hide. However, when we call the disableBodyScroll function, the bottom nav bar will display a blank space as shown in the video below.
https://user-images.githubusercontent.com/1543197/148535472-3a61e509-ae1d-4c3e-89a7-c6c5e42004b1.mp4

By adding a "height: 100vh" on the root Html tag, this issue can be resolved.

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

Successfully merging this pull request may close these issues.

1 participant