Using cornerstone, I have been able to create a Modal content type with a Raw Content child. When using the Cornerstone editor, the functionality is working correctly. However, once published, the click event does not trigger the addition of the x-active class to the wrapper.
Here is what I have already tried:
- I have created a clone of the page and eliminated all elements except an example Modal
- I have eliminated all javascript errors in the console.
- I confirmed than any javascript console user messages are the same between the admin and public sides
- I have confirmed that the modal content is added to the page correctly (below the footer), but is hidden via CSS
- I have confirmed that adding the x-active class to the modal content div does render the modal window
Event Listeners
- I have confirmed that on the Admin side, the event listeners have been attached (click, keydown, mouseenter, mouseleave, tco-toggle)
- On the public side, no event listeners are attached to the button div.
Admin Button Div
Public Button Div