Skip to content

Commit

Permalink
fix(sideMenu): fix disabled menu links
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Adam Bradley committed May 14, 2014
1 parent 610e232 commit fa8aa6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scss/_menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
box-shadow: $menu-side-shadow;
}

.menu-open .scroll-content {
.menu-open .menu-content .pane,
.menu-open .menu-content .scroll-content {
pointer-events: none;
}

Expand Down

1 comment on commit fa8aa6a

@ajoslin
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.