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

Fixing in-viewport element modifier with rAF-based detection #239

Merged
merged 5 commits into from
Jun 15, 2020

Conversation

gmurphey
Copy link
Contributor

@gmurphey gmurphey commented Jun 15, 2020

Noticed that callbacks registered with the in-viewport element modifier were never being fired when the browser falls back to rAF-based detection. It seems that the enter and exit callbacks were always being set to noops when setting up elements to be watched.

Also found that the test controller was leaking the model state between tests, so fixed that up as well.

Thanks for the great addon! ❤️

@snewcomer snewcomer added the bug label Jun 15, 2020
@snewcomer snewcomer merged commit dbb7892 into DockYard:master Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants