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

Fix boolean and checkbox inputs don't have focus states (re-add ripple) #7772

Conversation

@andrico1234
Copy link
Contributor Author

andrico1234 commented Jun 3, 2022

@fzaninotto are you happy for me to update the MR to remove the disableRipple attribute and any associated code that reimplements click active states?

I can also add a section to the documentation to explain that you can disable ripple to improve performance, but with the caveat that the user will need to reimplement the correct focus/active states (and other possible accessibility concerns)

@fzaninotto
Copy link
Member

absolutely!

@@ -307,6 +307,16 @@ const MyEdit = () => (

### `<CloneButton>`

## Performance
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Wasn't sure whether to have this in the button or datagrid component docs, or to create a new top-level page specifically for performance. Happy to go with whatever you folks feel is most appropriate

@andrico1234
Copy link
Contributor Author

friendly bump @fzaninotto

@fzaninotto fzaninotto merged commit 02d3eba into marmelab:master Jun 8, 2022
@fzaninotto
Copy link
Member

Thanks!

@fzaninotto fzaninotto added this to the 4.1.3 milestone Jun 8, 2022
@fzaninotto fzaninotto changed the title Add focus states to boolean and checkbox Fix boolean and checkbox inputs don't have focus states (re-add ripple) Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Focus states don't work on checkbox inputs
2 participants