Skip to content

Commit 430b917

Browse files
authoredApr 15, 2020
fix($theme-default): close dropdown on mouseout (fix #2227) (#2303)
1 parent 16df156 commit 430b917

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎packages/@vuepress/theme-default/components/DropdownLink.vue

+1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ export default {
124124
border none
125125
font-weight 500
126126
color $textColor
127+
pointer-events none
127128
&:hover
128129
border-color transparent
129130
.arrow

2 commit comments

Comments
 (2)

acgotaku commented on Apr 16, 2020

@acgotaku

This commit cause you can not open Languages dropdown in mobile mode. Please check at https://vuepress.vuejs.org/ .Thank you!

sabicalija commented on Apr 20, 2020

@sabicalija

I'm experiencing issues with this style update. With this pointer-events being disabled, one cannot open any dropdown menus on mobile phones. Are you aware of this? Was this on purpose?

pointer-events should only be disabled for non-mobile views. Otherwise one cannot open any dropdown menus without a keyboard. Which I guess, no one is using on their phone.

Please sign in to comment.