k-dropdown-item can either resolve to be a k-button-disabled, k-button-native or k-button-link.
Items that resolve to k-button-link have no focus() method, which causes the parent k-dropdown's arrow navigation to select the correct items, but without outlining them visually. (a navigation bug?)
Expected behavior
The k-button-link items are outlined like all other k-dropdown-item items.
To reproduce
Install this plugin and navigate the the k-button-link-bug area, open the menu and navigate it with the up/down arrows.
Description
k-dropdown-item
can either resolve to be ak-button-disabled
,k-button-native
ork-button-link
.Items that resolve to
k-button-link
have nofocus()
method, which causes the parentk-dropdown
's arrow navigation to select the correct items, but without outlining them visually. (a navigation bug?)Expected behavior
The
k-button-link
items are outlined like all otherk-dropdown-item
items.To reproduce
Install this plugin and navigate the the
k-button-link-bug
area, open the menu and navigate it with the up/down arrows.Quickfix or Solution
Uncomment fix in plugin (above) or implement
focus()
otherwise onk-button-link
.Your setup
Kirby Version
3.6.2