I was wondering if you would consider allowing more control over the keyboard interaction for selecting MenuItems. In our use case, we are building a filtering string as users type, but due to the way the MenuItem captures keydown events, if users type a space, it invokes the MenuItem selection.
https://github.com/szhsin/react-menu/blob/master/src/components/MenuItem.js#L69
We definitely want the Enter key to do this, but not the space key.
I was wondering if you would consider allowing more control over the keyboard interaction for selecting MenuItems. In our use case, we are building a filtering string as users type, but due to the way the MenuItem captures keydown events, if users type a space, it invokes the MenuItem selection.
https://github.com/szhsin/react-menu/blob/master/src/components/MenuItem.js#L69
We definitely want the Enter key to do this, but not the space key.