From 2a023609f5fc515589bd50d00c9fb9b9cd763083 Mon Sep 17 00:00:00 2001 From: Yurii Cherniavskyi Date: Wed, 8 May 2019 08:51:40 +0300 Subject: [PATCH] fix(android/button): possible incorrect button visual state (#7190) --- tns-core-modules/ui/button/button.android.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tns-core-modules/ui/button/button.android.ts b/tns-core-modules/ui/button/button.android.ts index ef9e8bbcc..66db08e2d 100644 --- a/tns-core-modules/ui/button/button.android.ts +++ b/tns-core-modules/ui/button/button.android.ts @@ -91,6 +91,7 @@ export class Button extends ButtonBase { this._highlightedHandler = this._highlightedHandler || ((args: TouchGestureEventData) => { switch (args.action) { case TouchAction.up: + case TouchAction.cancel: this._goToVisualState("normal"); break; case TouchAction.down: