Skip to main content

Disable prevent default on keydown

By default, the library will call event.preventDefault when using the keyboard navigation. You can opt out for this behavior.

import { Menu } from "react-contexify"


function App(){
return (
<Menu id="menuId" preventDefaultOnKeydown={false}>
<Item>An Item</Item>
</Menu>
)
}