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

Fix obscure mutation observer bug #456

Merged
merged 1 commit into from
May 4, 2020
Merged

Fix obscure mutation observer bug #456

merged 1 commit into from
May 4, 2020

Conversation

calebporzio
Copy link
Collaborator

Mutation Observer had a "return" instead of a "continue" in a for loop causing a bug when one of the mutations is not related to the others (in different parts of the DOM).

Mutation Observer would skip processing the rest of the mutations because of the return.

It was changed to continue and now every mutation gets processed and the bug is fixed.

@calebporzio calebporzio merged commit 2543302 into master May 4, 2020
@calebporzio calebporzio deleted the fix-nikolays-bug branch June 11, 2021 15:36
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