It needs double click on the label of a Checkbox to change its value.
To be the same as clicking on the checkbox itself: one click to toggle the value.
https://codesandbox.io/s/material-ui-checkbox-on-react-concurrent-mode-t6i83
Steps:
Material UI's Checkbox label
Enable the React concurrent mode using React and React-Dom v0.0.0-experimental-d7382b6c4.
| Tech | Version |
| ----------- | ------- |
| Material-UI | v4.6.1 |
| React | v0.0.0-experimental-d7382b6c4 |
| Browser | Chrome Version 83.0.4103.106 (Official Build) (64-bit) |
| TypeScript | - |
Things I have observed:
Works for touch e.g. on iPhone
Works without FormControl
Works with an uncontrolled checkbox.
https://codesandbox.io/s/material-ui-checkbox-on-react-concurrent-mode-gbcv9
React Concurrent mode is going to ruin our lives
Most helpful comment
React Concurrent mode is going to ruin our lives