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

Polyfill edge because its position:sticky is buggy #119

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

Conversation

souramoo
Copy link

MS Edge (Pre-Chromium) has a buggy implementation of position: sticky where it flickers when the user scrolls the page.

See: https://stackoverflow.com/questions/52876032/position-sticky-flickers-during-scroll-in-microsoft-edge-but-not-in-other-brow

And WordPress/gutenberg#12241

position: fixed does not have this issue.

I was able to fix this bug on my website by adding this polyfill library and modifying it to not seppuku for Edge, hope it helps others too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant