I'm using the accordion with js_lib="live_view_js" (for some reason the AlpineJS version was opening the accordions on unrelated events). Sometimes when I navigate to a page with the accordion on it I have to refresh the page before it will allow me to open the accordion. I don't have any other info to debug this. No errors showed up in the console or in the Chrome devtools.
To clarify: the issue with using Alpine JS is that I have a phx-click even on the page and whenever the server handles that event all of the accordions open up on the next render.
Hi,
I'm using the accordion with
js_lib="live_view_js"
(for some reason the AlpineJS version was opening the accordions on unrelated events). Sometimes when I navigate to a page with the accordion on it I have to refresh the page before it will allow me to open the accordion. I don't have any other info to debug this. No errors showed up in the console or in the Chrome devtools.