Skip to content
This repository has been archived by the owner on Sep 11, 2022. It is now read-only.

Fix MSEdge where element offset.top is negative #221

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

Conversation

AubreyHewes
Copy link

When sticky at the top of the page the element top can be a negative float (i.e. -0.17). This seems only to happen in MSEdge. This broke removing the sticky class.

See also
https://jsfiddle.net/19ge6hn4/1/

When sticky the element top can be a negative amount (i.e. -0.17)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant