fix(menu): backdrop disable-activated

This commit is contained in:
Adam Bradley
2015-09-28 09:44:11 -05:00
parent 26dcf4c3a7
commit 97b5142174

View File

@@ -31,7 +31,7 @@ import * as gestures from './menu-gestures';
events: ['opening']
})
@View({
template: '<ng-content></ng-content><backdrop tappable></backdrop>',
template: '<ng-content></ng-content><backdrop tappable disable-activated></backdrop>',
directives: [forwardRef(() => MenuBackdrop)]
})
export class Menu extends Ion {
@@ -278,6 +278,7 @@ class MenuBackdrop {
* @param {TODO} event TODO
*/
clicked(ev) {
console.debug('backdrop clicked')
ev.preventDefault();
ev.stopPropagation();
this.menu.close();