[Bug]: Contextual menu, clicking on check icon sometimes causes a dismiss rather than an onClick to uncheck the item
alton-browsing opened this issue · comments
alton-browsing commented
Library
React / v8 (@fluentui/react)
System Info
On 8.114.4 version of fluent but can also reproduce on fluent site.
Are you reporting Accessibility issue?
None
Reproduction
https://developer.microsoft.com/en-us/fluentui#/controls/web/contextualmenu
Bug Description
From the fluent site, go to the "ContextualMenu with checkable menu items and toggleable split button" example and click on where the check icon should be for any of the contextual menu items with icons or a divider on the same line.
Actual Behavior
Doesn't check/uncheck the item and dismisses the menu
Expected Behavior
Should check/uncheck the item and keep the contextual menu open
Logs
No response
Requested priority
Low
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- The provided reproduction is a minimal reproducible example of the bug.