Hi, I was trying to extend the Autocomplete component, specifically when the event handler listens for the enter key. Currently, the behavior of Autocomplete in the event listener for the enter key is as so in the first image.
I'd like to add some logic to be executed if the dropdown is just opened, like so in the second image.
Here, someLogic would be another prop, similar to onItemSubmit. Is there a way to accomplish this in React without patching the library using patch-package?