Disclosure: option to allow closed panel to stay in the DOM #1600
sebpettersson
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently when the panel is closed it's removed from the DOM - this also applies to SSR. I can get around this by using
static
and controllingaria-hidden
withopen
from the render props, but then I losearia-controls
on the button as well.Another idea would be to expose the internal id in the render props so you can implement
aria-controls
yourself.Beta Was this translation helpful? Give feedback.
All reactions