Skip to content

Commit d88b12f

Browse files
committed
show actions on hover/focus
1 parent 186dcea commit d88b12f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/uui-menu-item/lib/uui-menu-item.element.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,11 @@ export class UUIMenuItemElement extends SelectOnlyMixin(
116116
transition: opacity 120ms;
117117
grid-column-start: 3;
118118
}
119+
:host(:not([disabled])) #menu-item:hover #actions-container,
120+
:host(:not([disabled])) #menu-item:focus #actions-container,
121+
:host(:not([disabled])) #menu-item:focus-within #actions-container {
122+
opacity: 1;
123+
}
119124
120125
#loader {
121126
position: absolute;

0 commit comments

Comments
 (0)