-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
useDisabled: isDisabled to be deprecated. #51398
Conversation
Size Change: +64 B (0%) Total Size: 1.39 MB
ℹ️ View Unchanged
|
I agree the behavior is confusing but it's not clear to me if "inert" is a good name for this property here. |
Can we instead just deprecate the |
It looks like ` in almost all use cases.
I will create another Pull Request. |
What?
Deprecate isDisabled and introduce inert instead.
If
inert
is true, the element is deactivated.Why?
fix #51396
The
isDisabled
inuseDisabled
is the opposite of theisDisabled
in<Disabled >
. This behavior is confusing.Testing Instructions