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

Do not cancel rAF as this effects other elements that are observed #159

Merged
merged 3 commits into from
Aug 23, 2018

Conversation

snewcomer
Copy link
Collaborator

@snewcomer snewcomer commented Aug 23, 2018

If there are many elements on the page, rAF cancel effects other observed elements. This was just a minor optimization but the downsides of this outweigh those benefits.

Reverting for now but need to revisit.

Ref #145 #152

close #154

@snewcomer snewcomer self-assigned this Aug 23, 2018
@snewcomer snewcomer added the bug label Aug 23, 2018
@snewcomer snewcomer merged commit 090e47c into master Aug 23, 2018
@snewcomer snewcomer deleted the sn/fix-raf-cancel branch August 23, 2018 18:08
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.

1 participant