Skip to content

Commit

Permalink
fix(menu): await animation check
Browse files Browse the repository at this point in the history
Closes #15377
  • Loading branch information
mhartington committed Aug 29, 2018
1 parent 27518e5 commit f00db59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/components/menu-controller/menu-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export class MenuController {

@Method()
async _setOpen(menu: MenuI, shouldOpen: boolean, animated: boolean): Promise<boolean> {
if (this.isAnimating()) {
if (await this.isAnimating()) {
return false;
}
if (shouldOpen) {
Expand Down

0 comments on commit f00db59

Please sign in to comment.