Skip to content

Commit 2a02360

Browse files
ycherniavskyiMartoYankov
authored andcommitted
fix(android/button): possible incorrect button visual state (#7190)
1 parent 4f79d2e commit 2a02360

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tns-core-modules/ui/button/button.android.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ export class Button extends ButtonBase {
9191
this._highlightedHandler = this._highlightedHandler || ((args: TouchGestureEventData) => {
9292
switch (args.action) {
9393
case TouchAction.up:
94+
case TouchAction.cancel:
9495
this._goToVisualState("normal");
9596
break;
9697
case TouchAction.down:

0 commit comments

Comments
 (0)