Hey,
I've ran into the following issue at a customer, hopefully someone can shed some light on this:
- Visitor visits site
- Mendix renders the page, builds the HTML
- After Mendix is done, a 3rd party script manipulates the DOM, replaces HTML
- Visitor navigates to other page, navigation no longer works. “Cannot read property '_destroyed' of undefined” is visible in browser console
I’m assuming the Mendix library is no longer able to find an object because the 3rd party script has removed it from the DOM.
I'm looking for a way to manipulate the DOM using the 3rd party script, without breaking the navigation. Preferably without changing the Mendix/site implementation.
Best,
Karel