You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a regression. Alpine.JS update to 3.13.6 broke PetalComponents.Dropdown. In the meantime an update to Alpine.JS seems to have fixed this issue, but the issue just reappeared with the latest alpine.js update. Can we update the compent to work reliably with 3.13.6 and 3.14.6
Of course, I could be wrong. But if I'm correct, then this could be a general issue for LiveView - rather than one for Petal Components. I'll keep an eye on this - once we get to the bottom of it, then I'll update this issue.
This is not related to dropdown but the whole alpinejs lifecycle system. This but is caused by incompatibility between AlpineJS and Phoenix LV stream system. If you don't use LV stream you may not experiment any problem and the code given by @mitkins in the reply above is enough.
I'll not recommend using this workaround except if you have to use LV stream
This is a regression. Alpine.JS update to 3.13.6 broke PetalComponents.Dropdown. In the meantime an update to Alpine.JS seems to have fixed this issue, but the issue just reappeared with the latest alpine.js update. Can we update the compent to work reliably with 3.13.6 and 3.14.6
@atomkirk previously described the issue here: alpinejs/alpine#4075
The text was updated successfully, but these errors were encountered: