4 ms·
You probably can fix this by registering your event handler for the DOMContentLoaded before the dynamic one and just calling stopPropagation() on subsequent eve
by Permik 3y ago
You probably can fix this by registering your event handler for the DOMContentLoaded before the dynamic one and just calling stopPropagation() on subsequent events after the main DOMContentLoaded.
https://developer.mozilla.org/en-US/docs/Web/API/Event/stopPropagation https://developer.mozilla.org/en-US/docs/Web/API/Event/stopP...