Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't set display: none on elements that use hidden="until-found" #14625

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

adamwathan
Copy link
Member

Fixes an issue reported by the React Aria Components team here:

adobe/react-spectrum#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.

Fixes an issue reported by the React Aria Components team here:

adobe/react-spectrum#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.
@thecrypticace
Copy link
Contributor

I wonder if it’s possible to add a UI test for this?

@RobinMalfait
Copy link
Member

@thecrypticace probably yep, but that is only setup in v4, not v3

@thecrypticace
Copy link
Contributor

@thecrypticace probably yep, but that is only setup in v4, not v3

I wasn't paying close enough attention to the base branch 🤦‍♂️

@RobinMalfait RobinMalfait added the v3 label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants