don't clobber browser alt-left/right shortcuts
This commit is contained in:
parent
095761ee81
commit
1b9a1dcb22
1 changed files with 2 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue