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" #14631

Merged
merged 3 commits into from
Oct 9, 2024

Conversation

RobinMalfait
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.
@RobinMalfait RobinMalfait added the v4 label Oct 9, 2024
@RobinMalfait RobinMalfait merged commit b1733ac into next Oct 9, 2024
1 check passed
@RobinMalfait RobinMalfait deleted the fix/improve-hidden-until-found branch October 9, 2024 11:56
RobinMalfait added a commit that referenced this pull request Oct 9, 2024
…#14631)

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.
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.

2 participants