mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(android/button): possible incorrect button visual state (#7190)
This commit is contained in:
committed by
Martin Yankov
parent
4f79d2e2a1
commit
2a023609f5
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user