You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CMDK is triggering onSelect everytime enter key is pressed. #353
Hi.
I have small request/proposal or just a question.
My use case is to use cmdk "inline" in the dialog which may have additional controls such as select (to filter the cmdk list).
Pressing enter when select is opened already works as you accept the command item which is not expected.
As a workaround, I have to stop keydown propagation so cmdk doesn't get enter key event from select component.
Simply open the dialog, focus on the select, use keyboard arrows to navigate to some option, and press enter.
It closes the dialog. When you click by mouse, it just filters the commands
Activity