Skip to main content
Akenekiart
Participant
Oct 6, 2023 7:48 AM UTC
Question

'DOMNodeRemoved' DOM Mutation Event. This event type is deprecated work is underway to remove it.

Good morning. I use the "textinput" component in my game. I noticed that this message is displayed in the console in the Chrome browser. What could it mean? Will Adobe update "textinput" to work if the Listener is already removed from the browser? What can I do to avoid the game not working once this is removed? 

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

Participating Frequently
Apr 23, 2024 9:24 AM UTC

I found and changed this as suggested, it's on line 135 in anwidget.js:

 

$(parent).bind("MutationObserver", function(e) { //$(parent).bind("DOMNodeRemoved", function(e) {

That got rid of the error message and did not break anything so far 😉

Translate
Participating Frequently
Apr 23, 2024 7:46 PM UTC

Oh my, oh my! It's working. It enables working with video (video component) and interactive animation. So cool. Thanks a lot for this precious tip. 

Translate
kglad
Community Expert
Community Expert
Oct 6, 2023 1:30 PM UTC

you can ignore that or build your own text input.

Translate
Participating Frequently
Oct 10, 2023 7:50 AM UTC

Hello, but do you think there is a real threat that tex inputs will stop working in the near future?

Translate
kglad
Community Expert
Community Expert
Oct 10, 2023 1:43 PM UTC

near future? probably not.

 

otoh, you can encode an input element to use in animate if you understand javascript.

Translate