Adam Wathan b570e2b887
Don't set display: none on elements that use hidden="until-found" (#14625)
Fixes an issue reported by the React Aria Components team here:

https://github.com/adobe/react-spectrum/issues/7160

Basically `hidden="until-found"` behaves very differently than `hidden`
and doesn't actually use `display: none`, so we don't want to apply the
behavior we apply for the regular `hidden` attribute.

---------

Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2024-10-09 13:55:48 +02:00
..
2021-09-09 09:22:50 -04:00