mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-27 08:10:24 +01:00
fix: テーブルにフォーカスがあり、通常状態であるときはキーイベントの伝搬を止める
This commit is contained in:
parent
0fa0665d8e
commit
8628a4d592
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue