Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(sidenav): Notify other close events like datepicker-close too
Browse files Browse the repository at this point in the history
md-datepicker won't close if sidebar is open and the sidebar event stops propagation

Fixes #5522. Closes #5528.
  • Loading branch information
devversion authored and ThomasBurleson committed Nov 5, 2015
1 parent 65b2454 commit 2a76887
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/sidenav/sidenav.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,6 @@ function SidenavDirective($mdMedia, $mdUtil, $mdConstant, $mdTheming, $animate,
*/
function close(ev) {
ev.preventDefault();
ev.stopPropagation();

return sidenavCtrl.close();
}
Expand Down

0 comments on commit 2a76887

Please sign in to comment.