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

replace buggy custom throttler with lodash.throttle #165

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

Conversation

a-omsk
Copy link

@a-omsk a-omsk commented Nov 9, 2016

hello! i found some bugs in eventThrottler function (scroll-spy.js) when my events were fired incorrectly. i solve this problem with lodash.throttle function.
My own steps to reproduce:
→ enter to page with fixed menu (react-scroll.Link as items)
→ first time all works fine
→ leave the page
→ enter the page again and scroll
→ expected active links are not active and scrollHandler function not fired in 10-15 seconds

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