Skip to content

Commit 7ccdd60

Browse files
authored
fix: workaround Safari/VoiceOver menu navigation (#3158)
1 parent 242756e commit 7ccdd60

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/context-menu/theme/lumo/vaadin-context-menu-styles.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ registerStyles(
9090
registerStyles(
9191
'vaadin-context-menu-item',
9292
css`
93-
:host {
93+
/* :hover needed to workaround https://github.com/vaadin/web-components/issues/3133 */
94+
:host(:hover) {
9495
user-select: none;
9596
-ms-user-select: none;
9697
-webkit-user-select: none;

0 commit comments

Comments
 (0)