You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The mobile screen height hack increases and decreases the header height if the viewport inner height changes (for mobile browsers with a toolbar). However, this makes the total content height change as well when switching toolbar visibility. When the header is in view, this is not bad and actually even expected, but when a different section is in view that does not respect the max. viewport height, this triggers some glitchy movements.
Solutions:
only apply the inner height hack if the header is in view
Add some variable margin to the bottom of the header so the other sections will start at the correct place
let the first section start at a fixed coordinate regardless of header height
The text was updated successfully, but these errors were encountered:
JobDoesburg
changed the title
Screen height hack causes glitches
Screen height hack mobile
Jul 13, 2021
The current website does use a lot of 100vh sections. However, on iPhone , a menu bar will hide the partner banner for this. There is a hack to do this (but it can be glitchy). We should investigate this
The mobile screen height hack increases and decreases the header height if the viewport inner height changes (for mobile browsers with a toolbar). However, this makes the total content height change as well when switching toolbar visibility. When the header is in view, this is not bad and actually even expected, but when a different section is in view that does not respect the max. viewport height, this triggers some glitchy movements.
Solutions:
The text was updated successfully, but these errors were encountered: