Better click outside handling

This commit is contained in:
Mo Bitar
2017-12-26 12:21:27 -06:00
parent 8569098e8a
commit fc4abbbaf6
11 changed files with 138 additions and 28 deletions

View File

@@ -13,7 +13,7 @@
%label Options
.subtitle {{ctrl.optionsSubtitle()}}
.sectioned-menu.dropdown-menu{"ng-if" => "ctrl.showMenu"}
.sectioned-menu.dropdown-menu{"ng-if" => "ctrl.showMenu", "click-outside" => "ctrl.showMenu = false;"}
%ul
.header
.title Sort by