ERROR Deprecate Mutation Events (Deprecated)

Hi SC Team. Today Chrome was updated to version 127 and this has caused an error in the jQuery libraries. Now from the mobile the select2 type fields do not work

[Deprecation] Listener added for a ‘DOMNodeInserted’ mutation event. Support for this event type has been removed, and this event will no longer be fired. See Chrome Platform Status for more information.

Hi,
Same error here.
Update please
Guy

I solved the problem by migrating from existing code used DOMNodeInserted to the MutationObserver interface.

reference site :

I also got help from chatGPT :smiley:

1 Like

Dear @Guy @mimi @reyi2403

I am attaching the files to correct this select2 problem on mobile.

All 4 files must be replaced in the “your_scriptcase/deve/lib/js” directory.

mobile.zip (47.1 KB)

Best regards!

1 Like

Hi @Danilo_Lima ,
Sorry, no change for me
Guy

Sorry. I also did the process and it didn’t work for me.

Please perform the check in an incognito window or clear the browser cache, and test again.

As a last resort, delete the project directory at /your_scriptcase/app, and regenerate the source code for the entire project.

We await any feedback.

Best regards!