Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/vidstack/src/core/keyboard/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,9 @@ export class MediaKeyboardController extends MediaPlayerController {

return combinations?.some((combo) => {
const modifierKeys = new Set(combo.filter((key) => MODIFIER_KEYS.has(key)));
if ('<>'.includes(event.key)) {
modifierKeys.add('Shift');
}

// Check whether a modifier key was pressed that's not part of this combination.
for (const modKey of MODIFIER_KEYS) {
Expand Down