mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 03:26:36 +00:00
fix(context-menu): prevent default keydown behavior
This commit is contained in:
parent
831f3bfe76
commit
49b2ed4b6e
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@
|
|||
}
|
||||
}}"
|
||||
on:keydown
|
||||
on:keydown="{(e) => {
|
||||
on:keydown|preventDefault="{(e) => {
|
||||
if ($hasPopup) return;
|
||||
|
||||
if (e.key === 'ArrowDown') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue