Skip to content

Commit fa8aa6a

Browse files
author
Adam Bradley
committed
fix(sideMenu): fix disabled menu links
The fix for another issue had too general of a CSS selector, which ultimately prevented clicks in the left menu when it had a scrollable area. This fix narrows in the selector so it only prevents pointer-events in the menu-content’s content area (still allowing the menu to close by tapping the content, but not allowing the content to be interacted with, like swiping a list item). Closes #1388
1 parent 610e232 commit fa8aa6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scss/_menu.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
box-shadow: $menu-side-shadow;
2525
}
2626

27-
.menu-open .scroll-content {
27+
.menu-open .menu-content .pane,
28+
.menu-open .menu-content .scroll-content {
2829
pointer-events: none;
2930
}
3031

0 commit comments

Comments
 (0)