fix(clickblock): clickblock applies longer

references #9531
This commit is contained in:
Manu Mtz.-Almeida
2016-12-07 16:49:13 +01:00
committed by Adam Bradley
parent e84f2e2fbb
commit e0d876e9f0
6 changed files with 41 additions and 38 deletions

View File

@@ -508,6 +508,7 @@ export class Menu {
private _after(isOpen: boolean) {
assert(this._isAnimating, '_before() should be called while animating');
this._app.setEnabled(false, 100);
// keep opening/closing the menu disabled for a touch more yet
// only add listeners/css if it's enabled and isOpen
// and only remove listeners/css if it's not open