Ensure keyboard events while inline searching are not captured by the main grid keyboard manager

This commit is contained in:
Andrew Kingston 2023-10-16 17:12:25 +01:00
parent 7f33b28294
commit a857eb266c
2 changed files with 2 additions and 0 deletions

View File

@ -234,6 +234,7 @@
on:blur={onBlurInput} on:blur={onBlurInput}
on:click={() => focusedCellId.set(null)} on:click={() => focusedCellId.set(null)}
on:keydown={onInputKeyDown} on:keydown={onInputKeyDown}
data-grid-ignore
/> />
{/if} {/if}

View File

@ -21,6 +21,7 @@
const ignoredOriginSelectors = [ const ignoredOriginSelectors = [
".spectrum-Modal", ".spectrum-Modal",
"#builder-side-panel-container", "#builder-side-panel-container",
"[data-grid-ignore]",
] ]
// Global key listener which intercepts all key events // Global key listener which intercepts all key events