Skip to content

New option to prevent fullscreen when hidding the address bar? (+ consider using lvh, svh or dlh ) #4682

@alvarotrigo

Description

@alvarotrigo

Some developers complain about a small "jump" on the viewport when the mobile address bar gets hidden when scrolling up, or when it grows when scrolling up.

fullPage.js currently calculates the viewport dimensions using JS, but it might be a good idea to take a look at CSS alternatives such as lvh, svh, or even dlh.
However it seems that might still not solve the issue with the "jump" in the viewport.
https://youtu.be/ru3U8MHbFFI?t=117

Probably the best approach to solve the issue is to provide an option that allows developers to choose if they want the viewport to always resize to 100vh when hiding the address bar or not.
Some wouldn't mind while for others it's a must.

Related with:
#4342
#1793

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions