We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a2e055 commit c8ab14bCopy full SHA for c8ab14b
src/button/button.android.ts
@@ -118,7 +118,9 @@ export class Button extends ButtonBase {
118
if (!this.createStateListAnimatorTimeout) {
119
this.createStateListAnimatorTimeout = setTimeout(() => {
120
this.createStateListAnimatorTimeout = null;
121
- createStateListAnimator(this, this.nativeViewProtected);
+ if (this._context) {
122
+ createStateListAnimator(this, this.nativeViewProtected);
123
+ }
124
});
125
}
126
0 commit comments