Closed alton-browsing closed 4 weeks ago
It does look like that solves as a workaround, thanks! Ill keep the discussion open in case it actually isn't intended and onDismiss should also esc.
@alton-browsing I'm not able to repro in Edge. Are you still able to repro the issue?
Yea, it still repros. Sorry I had the workaround code in there but I have since swapped it back to onDismiss (instead of onMenuDismiss)
seems like it only reproes when onDismiss is provided. Since the workaround does work and we are avoiding making changes to v8 unless necessary, we'll close it as won't fix.
FYI for future reference, using onMenuDismiss instead of onDismiss will get the same result.
Library
React / v8 (@fluentui/react)
System Info
Are you reporting an Accessibility issue?
yes
Reproduction
https://codepen.io/alton25/pen/XWLvByo
Bug Description
To reproduce the issue, click on the overflow button (the three dots) then click on the columns button that shows up in the overflow menu and then try to click esc from that context menu that shows up.
Actual Behavior
Esc key doesn't dismiss the contextual menu pop up
Expected Behavior
Esc key should dismiss the contextual menu pop up
Logs
No response
Requested priority
Normal
Products/sites affected
intune.microsoft.com
Are you willing to submit a PR to fix?
no
Validations