-
-
Notifications
You must be signed in to change notification settings - Fork 472
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Link to minimal reproduction
https://stackblitz.com/edit/xkh7borp?file=src%2FApp.vue
Steps to reproduce
- Visit reproduction link
- Focus any calendar day cell
- Press Ctrl/Cmd + Enter
- See that the alert is not triggered
Describe the bug
The keydown event's propagation is stopped.
Expected behavior
The event propagation should not be stopped to allow the user to listen for the event.
Context & Screenshots (if applicable)
In my case I wanted to implement a popup calendar (date picker) that would allow to quickly submit the form using Ctrl+Enter shortcut.
This affects the following components:
- CalendarCellTrigger -
e.stopPropagation() - ListboxRoot -
event.stopPropagation() - NavigationMenuTrigger -
ev.stopPropagation() - RangeCalendarCellTrigger -
e.stopPropagation()
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working