Misc Improvements (#14076)

* Return ID of export in http response

* Ignore keyboard listener when typing in text field

* Add other keyboard listeners
This commit is contained in:
Nicolas Mowen
2024-09-30 15:55:44 -06:00
committed by GitHub
parent 95d6da3111
commit 94fd75e014
5 changed files with 46 additions and 7 deletions

View File

@@ -14,7 +14,8 @@ export default function useKeyboardListener(
) {
const keyDownListener = useCallback(
(e: KeyboardEvent) => {
if (!e) {
// @ts-expect-error we know this field exists
if (!e || e.target.tagName == "INPUT") {
return;
}