Skip to content

Conversation

@zipper
Copy link
Owner

@zipper zipper commented Feb 19, 2025

CollapsableItem can be initialized based on media queries. This allows it to exist only at specific breakpoints, while at others, the DOM is reverted and remains unmodified. This is particularly useful for components like mobile menus and helps resolve accessibility issues where an item had a hidden attribute but was later made visible via CSS.

`CollapsableItem` can be initialized based on media queries. This allows it to exist only at specific breakpoints, while at others, the DOM is reverted and remains unmodified. This is particularly useful for components like mobile menus and helps resolve accessibility issues where an item had a `hidden` attribute but was later made visible via CSS.
@zipper zipper merged commit a108c44 into master Feb 19, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants