fix: テーブルにフォーカスがあり、通常状態であるときはキーイベントの伝搬を止める
This commit is contained in:
parent
0fa0665d8e
commit
8628a4d592
|
@ -269,6 +269,7 @@ function onKeyDown(ev: KeyboardEvent) {
|
||||||
switch (state.value) {
|
switch (state.value) {
|
||||||
case 'normal': {
|
case 'normal': {
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
|
ev.stopPropagation();
|
||||||
|
|
||||||
const selectedCellAddress = selectedCell.value?.address ?? CELL_ADDRESS_NONE;
|
const selectedCellAddress = selectedCell.value?.address ?? CELL_ADDRESS_NONE;
|
||||||
const max = availableBounds.value;
|
const max = availableBounds.value;
|
||||||
|
|
Loading…
Reference in New Issue