mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 21:15:24 +08:00
fix(picker): stop picker once it is closed
This commit is contained in:
@ -94,6 +94,10 @@ export class PickerColumnCmp {
|
|||||||
|
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
this.events.unlistenAll();
|
this.events.unlistenAll();
|
||||||
|
if (this.rafId) {
|
||||||
|
cancelRaf(this.rafId);
|
||||||
|
this.rafId = null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pointerStart(ev: UIEvent): boolean {
|
pointerStart(ev: UIEvent): boolean {
|
||||||
|
Reference in New Issue
Block a user