Description

In chrome and "some" mobile browser's the sticky header get's wobbly (when positioned fixed) if it has more complex image/font render-complexity.

The bug is nicely described here (even with a video): https://stackoverflow.com/questions/44679794/position-fixed-on-chrome-mo...

Proposed Resolution

The sticky header could be changed to use position: sticky.
https://getbootstrap.com/docs/4.0/utilities/position/#sticky-top
But this shall be handled in another issue, as it will be quite tricky, or even not appliable, when the page_top region is not meant to be sticky, see: https://stackoverflow.com/questions/43707076/position-sticky-not-working...

Quick fix

Adding minimum-scale=1.0 to the viewport makes the fixed element truly fixed at the top of the page constantly.

Comments

ytsurk created an issue. See original summary.

ytsurk’s picture

StatusFileSize
new989 bytes

The patch

ytsurk’s picture

Issue summary: View changes
ytsurk’s picture

Issue summary: View changes
ytsurk’s picture

StatusFileSize
new1.01 KB

Also adding the device-height.

Although the sticky header was no longer "wobbling" after adding transform: translate3d(0,0,0); to kick in hardware-acceleration.

ytsurk’s picture

Status: Active » Closed (works as designed)