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

Package makes use of deprecated DOMNodeInserted event. #380

Open
thomassleeman opened this issue Oct 11, 2023 · 1 comment
Open

Package makes use of deprecated DOMNodeInserted event. #380

thomassleeman opened this issue Oct 11, 2023 · 1 comment

Comments

@thomassleeman
Copy link

Describe the bug
It looks like react-simple-chatbot uses the deprecated event listener DOMNodeInserted to scroll downwards each time a new message appears on screen. Currently this prompts the following warning in chrome:

[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.

Are there any plans to update this?

@nick-liggett-smt
Copy link

I'm getting the same thing. Curios what the plan is for this?

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