don't clobber browser alt-left/right shortcuts

This commit is contained in:
Matt Walsh 2025-05-29 23:08:04 -05:00
commit 1b9a1dcb22
No known key found for this signature in database

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) {