CosmicMind Material TextField : Adjust TextField position when it becomes first responder

130 Views Asked by At

I have a view and I have two Material Textfields in it. The problem is when I have to show detail Message or when the I click on text field the placeholder moves up. So if the space between fields is less then the animated placeholder text gets overlapped with above text field.

So far I have kept enough space between fields to rid of this issue but it does not look good moreover, in Android when the user clicks on the textfield and its animated text shows the textfield automatically moves some points down or up to cater the inner spacing issue.

Default View with without detail message and placeholder

placeholder and error message

0

There are 0 best solutions below