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

Fix issue in IOS 15 Safari that bottom blank bar will show up #242

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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