Skip to content

Commit

Permalink
fix paper-menu not closing when backdrop is clicked
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelcobain committed Jan 2, 2019
1 parent 932a135 commit 01229ae
Show file tree
Hide file tree
Showing 3 changed files with 1,371 additions and 1,807 deletions.
2 changes: 1 addition & 1 deletion addon/templates/components/paper-menu-content.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="ember-basic-dropdown-overlay"></div>
{{/if}}
--}}
{{paper-backdrop class="md-menu-backdrop md-click-catcher"}}
{{paper-backdrop class="md-menu-backdrop md-click-catcher" onClick=(action dropdown.actions.close)}}
<div
id={{dropdownId}}
class="ember-basic-dropdown-content {{class}} {{if renderInPlace "ember-basic-dropdown-content--in-place"}} {{if hPosition (concat "ember-basic-dropdown-content--" hPosition)}} {{if vPosition (concat "ember-basic-dropdown-content--" vPosition)}}
Expand Down

0 comments on commit 01229ae

Please sign in to comment.