Skip to content

[hotfix] Block button clicks when loading or disabled #129

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

Merged
merged 1 commit into from
Feb 12, 2020

Conversation

arthurxavierx
Copy link
Contributor

Is there any case I'm missing where we'd want to register clicks even when a button is Loading or Disabled?

@arthurxavierx arthurxavierx added the bug Something isn't working label Feb 11, 2020
@arthurxavierx arthurxavierx self-assigned this Feb 11, 2020
@kimispencer
Copy link
Contributor

This looks good to me; I can't imagine why we would want to register the button click if a button is disabled or in the loading state.

Copy link
Contributor

@kimispencer kimispencer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@arthurxavierx arthurxavierx merged commit 3a00993 into master Feb 12, 2020
@arthurxavierx arthurxavierx deleted the arthur/hotfix/button-click-loading branch February 12, 2020 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants