Open jurokapsiar opened 3 weeks ago
Workaround: add preventDefault
to onKeyDown
:
<MenuButton
onKeyDown={(e) => {
if (e.key === 'ArrowDown') {
e.preventDefault();
}
}}
>
Trigger
</MenuButton>
Remove
Library
React Components / v9 (@fluentui/react-components)
System Info
Are you reporting an Accessibility issue?
no
Reproduction
https://stackblitz.com/edit/t42dzs?file=src%2Fexample.tsx
Bug Description
Actual Behavior
Menu opens and it is scrolled
Expected Behavior
Menu opens without any scrolling
Logs
No response
Requested priority
High
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations