Description
React version: 18.3.0-canary-a1f97589f-20230526
Steps To Reproduce
- Create radio buttons that toggle
disabled
inonChange
- After selecting each radio button,
onChange
is no longer called
Link to code example:
The following CodeSandbox demonstrates the issue with the current react canary version. The issue is not present when react & react-dom versions are changed to stable 18.2.0
https://codesandbox.io/s/react-canary-radio-buttons-deiqb3?file=/src/App.js
The current behavior
<input type="radio" />
's onChange
prop is not called on subsequent clicks of the input
The expected behavior
<input type="radio" />
's onChange
prop should be called on subsequent clicks of the input