Callback to change the open state of the menu.
Triggered by clicking outside of the menu, or by pressing any keys specificed in onOpenChangeKeys.
OptionalonOpenChangeKeys
onOpenChangeKeys?:string[]
Keys that trigger onOpenChange, defaults to tab and escape. It is highly recommended to include Escape in the array, while Tab may be omitted if the menu contains non-menu items that are focusable.
Time in ms to wait before firing the toggles' focus event. Defaults to 0