Skip to content

Commit 955ca7c

Browse files
committed
Fix tap handler being called more than once
See issue #30
1 parent 0e5334d commit 955ca7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

checkbox.ios.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ export class CheckBox extends Button implements CheckBoxInterface {
196196

197197
public onUnloaded() {
198198
this._iosCheckbox.delegate = null;
199+
this.removeEventListener("tap");
199200
super.onUnloaded();
200201
}
201202

0 commit comments

Comments
 (0)