mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 12:23:02 +00:00
fix(multi-select): close a filterable menu on "Escape"
This commit is contained in:
parent
c2a2f0150e
commit
29a12f6c2d
1 changed files with 2 additions and 0 deletions
|
@ -417,6 +417,8 @@
|
||||||
change(1);
|
change(1);
|
||||||
} else if (key === 'ArrowUp') {
|
} else if (key === 'ArrowUp') {
|
||||||
change(-1);
|
change(-1);
|
||||||
|
} else if (key === 'Escape') {
|
||||||
|
open = false;
|
||||||
}
|
}
|
||||||
}}"
|
}}"
|
||||||
on:keyup
|
on:keyup
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue