mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
Fixes (#575)
* fix(context-menu): only prevent default keydown behavior if menu is open * docs(notification): update copy * docs(select): update item groups example to use hidden default option * docs: increase max-height to render UIShell, UnorderedList items * fix(ui-shell): remove iconDescription prop from HeaderNavMenu #566 Fixes #566
This commit is contained in:
parent
121062a80c
commit
63e7965745
9 changed files with 41 additions and 63 deletions
|
@ -112,7 +112,8 @@
|
|||
}
|
||||
}}"
|
||||
on:keydown
|
||||
on:keydown|preventDefault="{(e) => {
|
||||
on:keydown="{(e) => {
|
||||
if (open) e.preventDefault();
|
||||
if ($hasPopup) return;
|
||||
|
||||
if (e.key === 'ArrowDown') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue