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

Deprecation of DOMNodeInserted causing performance issues #4096

Closed
VyaraDurcheva opened this issue Apr 2, 2024 · 1 comment
Closed

Deprecation of DOMNodeInserted causing performance issues #4096

VyaraDurcheva opened this issue Apr 2, 2024 · 1 comment

Comments

@VyaraDurcheva
Copy link

I am using quill.js with the latest version and having that console reported issue in all browsers:
**[Deprecation] Listener added for a synchronous 'DOMNodeInserted' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
**
In code this refers to this lines
// Some reason fixes composition issues with character languages in Windows/Chrome, Safari
_this.domNode.addEventListener('DOMNodeInserted', function () {});

Could it be fixed. Thank you!
@benbro
Copy link
Contributor

benbro commented Apr 2, 2024

Duplicate #3806

@benbro benbro closed this as completed Apr 2, 2024
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

No branches or pull requests

2 participants