Skip to main content
Akenekiart
Participant
October 6, 2023
Question

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

  • October 6, 2023
  • 2 replies
  • 1427 views

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 has been closed for replies.

2 replies

Participating Frequently
April 23, 2024

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 😉

Participant
April 23, 2024

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. 

kglad
Community Expert
Community Expert
October 6, 2023

you can ignore that or build your own text input.

Participant
October 10, 2023

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

kglad
Community Expert
Community Expert
October 10, 2023

near future? probably not.

 

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