mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(scroll): ensure listeners have been added before removing
This commit is contained in:
@@ -487,10 +487,9 @@ export class ScrollView {
|
||||
this.scrollStart.unsubscribe();
|
||||
this.scroll.unsubscribe();
|
||||
this.scrollEnd.unsubscribe();
|
||||
|
||||
this.stop();
|
||||
this._lsn();
|
||||
this._endTmr && this._endTmr();
|
||||
this._lsn && this._lsn();
|
||||
this._el = this._dom = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user