I'm working with dialog and dynamic content, but it is throwing an error of "Cannot read property 'matrix' of undefined" when the dialog is showed and affects, for example, my bootstrap menu that no longer open due to this error until I refresh the page.
The general functionality of dialog is fine, only that this error causes errors in other places. Any idea how to fix this or the correct order to open/prepare the dialog with dynamic content?
Also, I have tested with static content and it does not generate that error. I think is something related to the dynamic content.
I attached the view that have this functionality.
Let me know if you need something extra.