You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an item is selected from the component, it fires the onChange callback function twice. The data returned from the onChange callback returns a onClick event object and then the item that was selected.
This is the same issue and fix that was previously addressed for
`MenuItemRadioGroup` in carbon-design-system#17736.
Also added a test to cover this case, including checking the value
passed to the `onChange` prop as the redundant `onChange` being
removed here was passing the SyntheticEvent instead of the expected
boolean.
This is the same issue and fix that was previously addressed for
`MenuItemRadioGroup` in carbon-design-system#17736.
Also added a test to cover this case, including checking the value
passed to the `onChange` prop as the redundant `onChange` being
removed here was passing the SyntheticEvent instead of the expected
boolean.
This is the same issue and fix that was previously addressed for
`MenuItemRadioGroup` in #17736.
Also added a test to cover this case, including checking the value
passed to the `onChange` prop as the redundant `onChange` being
removed here was passing the SyntheticEvent instead of the expected
boolean.
Co-authored-by: Nikhil Tomar <[email protected]>
Co-authored-by: Anna Wen <[email protected]>
Package
@carbon/react
Browser
Chrome
Package version
1.65.0
React version
No response
Description
When an item is selected from the component, it fires the onChange callback function twice. The data returned from the onChange callback returns a onClick event object and then the item that was selected.
Reproduction/example
https://stackblitz.com/edit/github-cmfaqv-vacov7?file=src%2FApp.jsx
Steps to reproduce
Select an item from the submenu.
Suggested Severity
Severity 3 = User can complete task, and/or has a workaround within the user experience of a given component.
Application/PAL
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: