Skip to content

Conversation

@zsavajji
Copy link

I noticed that when the target has a float offset (e.g. 180.98px), the target is never reached, and the callback never gets called, cause parseInt truncates the offset instead of applying roundind, which window.scrollTo() instead applies.

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