Open oliviertassinari opened 2 weeks ago
@oliviertassinari It's already supported in our Accordion component.
@colmtuite I have linked this issue with its PR 4 minutes before you commented 👍.
I noticed this issue while I was browsing with Jose the tiptap pricing page and got frustrated I couldn't search in their FAQ accordion https://tiptap.dev/pricing.
Summary
The
hidden="until-found"
attribute isn't widely available yet: https://caniuse.com/mdn-html_global_attributes_hidden_until-found_value but it would be great to plan its support. It's better UX. https://developer.chrome.com/docs/css-ui/hidden-until-found for more detailsWe also have something related to not mounting children to save performance https://mui.com/material-ui/react-accordion/#performance, and this would be another part of the tradeoff for developers when deciding which path they take.
Examples
Search keywords: -