mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
fix(context-menu): obtain radio id from node directly
This commit is contained in:
parent
2c9c2f1690
commit
09e65d78c3
2 changed files with 29 additions and 45 deletions
|
@ -114,6 +114,7 @@
|
|||
on:keydown
|
||||
on:keydown="{(e) => {
|
||||
if ($hasPopup) return;
|
||||
|
||||
if (e.key === 'ArrowDown') {
|
||||
if (focusIndex < options.length - 1) focusIndex++;
|
||||
} else if (e.key === 'ArrowUp') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue