w3-fixed causes jumping on chrome

Created on 6 March 2019, almost 6 years ago
Updated 27 June 2024, 6 months ago

Problem:
If the viewport is enough to allow scrolling on chrome, but not enough to properly invoke .w3-fixed, then the page ends up jumping back to the top in an endless bounce when you scroll down. Simply resizing the window will allow the problem to occur.

Proposed Solution:

.w3-fixed {
  position: sticky;
}

It would actually be better to rename the class to w3-sticky since I can't seem to find w3-fixed in the spec, so I'm guess it's a made-up class for this theme?

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States philsward

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024