Skip to content

Conversation

@jtomaszewski
Copy link

It took me half a day to find the issue and another hour to find the fix. But I got it.

The bug appears when sticky element is in a nested scroll container, that is already scrolled. (That is: Sticky component is being initialized when its non-window scroll container is already scrolled; Or when window is resized while that non-window scroll container is already scrolled.)

This fix fixes it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant