-
-
Notifications
You must be signed in to change notification settings - Fork 2.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
Disabled button can be pressed issue/bug #7206
Conversation
I added the test in the sandbox. If I did the test in the wrong place, let me know. |
Thanks. p.s. it seems like these tests "Button_Invokes_CanExecute_When_CommandParameter_Changed" and "Raises_Click_When_AccessKey_Raised" are mixed, probably somebody renamed incorrectly by mistake. |
Also you can just push commits to the same branch, you don't need to recreate PR |
oh my bad. |
…abled from 1 to 0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
Thanks! |
Disabled button can be pressed issue/bug
What does the pull request do?
Add IsEffectivelyEnabled condition to OnClick(from Button)
What is the updated/expected behavior with this PR?
If a controller is disabled(IsEnabled set to false), The Click event won't fire(work) unless the button is enabled.
Fixed issues
Fixes #6957