don't clobber browser alt-left/right shortcuts

This commit is contained in:
Matt Walsh
2025-05-29 23:08:04 -05:00
parent 095761ee81
commit 1b9a1dcb22

View File

@@ -295,6 +295,8 @@ const updateFullScreenNavigate = () => {
};
const documentKeydown = (e) => {
// don't trigger on ctrl/alt/shift modified key
if (e.altKey || e.ctrlKey || e.shiftKey) return false;
const { key } = e;
if (document.fullscreenElement || document.activeElement === document.body) {