You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the current version of the default theme (@2.0.0-rc.68), RouteLinks inside VPNavbarItems dropdown do not have the same width as the dropdown menu. This causes areas inside the dropdown to look clickable (because the background gets changed when hover was fired), but the click event never reaches the link.
Older versions of VuePress set display of a inside .navbar-dropdown-item to display: block. It's deployed here. I cannot track down the version easily. In this case the a is as wide as the dropdown menu. Thus, the whole area is clickable in contrast to the current scenario.
I am confident this behaviour was introduced with 7080aa3.
With 7080aa3 see a lot of refactoring took place. However, we can see that,
Description
With the current version of the default theme (@2.0.0-rc.68),
RouteLinks
insideVPNavbarItems
dropdown do not have the same width as the dropdown menu. This causes areas inside the dropdown to look clickable (because the background gets changed whenhover
was fired), but theclick
event never reaches thelink
.Older versions of
VuePress
set display ofa
inside.navbar-dropdown-item
todisplay: block
. It's deployed here. I cannot track down the version easily. In this case thea
is as wide as the dropdown menu. Thus, the whole area is clickable in contrast to the current scenario.I am confident this behaviour was introduced with 7080aa3.
With 7080aa3 see a lot of refactoring took place. However, we can see that,
this CSS that got deleted: 7080aa3#diff-7a9faadb210a337915e80c598f748b4821534eab25ca10f296a423a33fcc0ed3L68-L76
this CSS that got added: 7080aa3#diff-910b8cff4306fa71ea33bdee3090877c0d92c38bd46cc5103ab3ec6ab84d3a21R64-R66
Here's the code for my navbar:
Reproduction
https://github.com/discue/api-docs/tree/vuepress-dropdown-unlickable-areas
Used Package Manager
npm
System Info
The text was updated successfully, but these errors were encountered: