I have a modal that is dynamically rendered. I’m doing this because my page has many buttons (toggles) for the modal page and I don’t want to load multiple versions of the same thing, slowing down the page load.
When the modal is loaded it shows a chat box, and it works great.
But when I close the modal and re-open it only the first line is shown. It breaks the embeded chatbox modal content.
This only happens when I have the Dynamic Rendering option selected for the content area. When that is unchecked the embedded content (the chatbox) works fine.
Why is it doing this and how do I stop it?
See a live version here by clicking the “test chatbox” button: https://www.killthebill.com.au/