I have hit the same problem with bulma calendar.
no matter what I do phoenix destroys the calendar when I open a modal or add new object.
I can’t add them without the phx-update=ignore
I can re-add them with this listener but then I will get multiple instances on it.
I am going to investigate jsOps when I have more time
window.addEventListener("phx:page-loading-stop", info => doStuff() )