-
Hello! I appreciate all the work of @calebporzio and others on Alpine and the new plugins. My team uses it to add bits of interactivity to our new MODX sites which has been working out great! We are trying out x-collapse and encountered an accessibility issue. Because x-collapse does not set the collapsed element to I can think of ways to work around this but it seems like it would be simplest to use |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@atorockio Tried it with x-on:transitionend here: https://codepen.io/tim-wils/pen/OJjyXZy it doesn't fully work removing the hidden class, but it was a start. Maybe it's more convenient to create a PR https://github.com/alpinejs/alpine/blob/main/packages/collapse/src/index.js#L51 where |
Beta Was this translation helpful? Give feedback.
-
Checking in on this I see that the x-collapse plugin now sets |
Beta Was this translation helpful? Give feedback.
Checking in on this I see that the x-collapse plugin now sets
display: none
andhidden
on collapsed items. Perfect!