mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
fix(menu): crash when menu if forcedClosed
This commit is contained in:
@ -392,7 +392,8 @@ export class Menu implements ComponentInterface, MenuI {
|
||||
this.lastOnEnd = detail.timeStamp;
|
||||
this.animation
|
||||
.onFinish(() => this.afterAnimation(shouldOpen), {
|
||||
clearExistingCallbacks: true
|
||||
clearExistingCallbacks: true,
|
||||
oneTimeCallback: true
|
||||
})
|
||||
.progressEnd(shouldComplete, stepValue, realDur);
|
||||
}
|
||||
|
Reference in New Issue
Block a user