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
Why is it necessary to call event.preventDefault() when the key is backspace or tab here? This blocks backspace and tab on the entire page, making text inputs on the page completely unusable.
I'm not sure I understand the purpose of this anyways. Is it to prevent the user from exiting the page when they hit backspace? If so, maybe this should only be checked if the pointer is locked or fullscreen is enabled.