MaterialEditText
MaterialEditText copied to clipboard
Lagging animation on setError inside `Dialog`
First of all, I would like to thank the authors of this beautiful library. The issue I am having is that I am using this MaterialEditText within my Custom Dialog and when I use setError
it lags for 1 second and then displays the error message. Is there any where we can avoid this? Basically, the dialog content view grows and shrinks which is for what I feel this lag is happening. Any work around for this?
+1
I too observed this in my custom DialogFragment. No issues when used in Activities though.
I've fixed this by adding app:met_minBottomTextLines="1"
so space for error message is reserved and view size is not changing