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 fed90a9 commit 740a3d2Copy full SHA for 740a3d2
lib/java/com/google/android/material/textfield/ClearTextEndIconDelegate.java
@@ -56,7 +56,7 @@ public void afterTextChanged(@NonNull Editable s) {
56
if (textInputLayout.getSuffixText() != null) {
57
return;
58
}
59
- animateIcon(hasText(s));
+ animateIcon(textInputLayout.hasFocus() && hasText(s));
60
61
};
62
private final OnFocusChangeListener onFocusChangeListener =
0 commit comments