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

didScroll not triggering #195

Closed
abel-n opened this issue May 15, 2019 · 0 comments · Fixed by #196
Closed

didScroll not triggering #195

abel-n opened this issue May 15, 2019 · 0 comments · Fixed by #196

Comments

@abel-n
Copy link

abel-n commented May 15, 2019

Version

3.5.5

Issue

I think didScroll doesn't trigger as it is supposed to according to docs. In addon/mixins/in-viewport.js:265 the triggering depends on viewportEntered option instead of viewportDidScroll.

    if (scrollDirection && directionChanged && get(this, 'viewportEntered')) {
      this.trigger('didScroll', scrollDirection);
      lastDirection[elementId] = scrollDirection;
    }

Although the docs mention didScroll will be turned off by default that is not the case yet.

Thank you for the great addon! 💪

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 a pull request may close this issue.

1 participant