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
DatePicker and Combobox fields open their panel on ArrowUp/ArrowDown, but they ignore the modifiers, so that ctrl-ArrowUp, shift-ArrowUp etc does the same.
This again means it is not possible to add my own Alt-ArrowUp/Down listener (which I want to do to move editor row up/down in Grid)
I see the same behavior in KeyNotifier.addKeyDownListener.
I assume most users are not aware that any modifier they don't specify is ignored, and they have to test event.modifiers themselves.
Strangely enough, it looks like Shortcuts.addShortcutListener does it the right way.
Expected-behavior
DatePicker and Combobox fields should do nothing on [any modifier given]-ArrowUp/ArrowDown
Describe the bug
DatePicker and Combobox fields open their panel on ArrowUp/ArrowDown, but they ignore the modifiers, so that ctrl-ArrowUp, shift-ArrowUp etc does the same.
This again means it is not possible to add my own Alt-ArrowUp/Down listener (which I want to do to move editor row up/down in Grid)
I see the same behavior in KeyNotifier.addKeyDownListener.
I assume most users are not aware that any modifier they don't specify is ignored, and they have to test event.modifiers themselves.
Strangely enough, it looks like Shortcuts.addShortcutListener does it the right way.
Expected-behavior
DatePicker and Combobox fields should do nothing on [any modifier given]-ArrowUp/ArrowDown
Reproduction
In https://vaadin.com/docs/latest/components/combo-box#auto-open click in field and press ctrl-shift-Alt-ArrowDown
System Info
Windows 10, Vaadin 24.5.1, Firefox 131.0.3
The text was updated successfully, but these errors were encountered: