Reputation: 4060
I am facing an ui issue with TextFormField error border in focused state.
When I tapped inside TextFormField, width is getting double on focus as below screen shot
Could you please guide me what am i doing wrong here.
Upvotes: -1
Views: 111
Reputation: 17890
You are not doing anything wrong, this is a material design behavior, if you want to disable it , try this:
TextField(
decoration: InputDecoration(
label: Text('label'),
floatingLabelBehavior: FloatingLabelBehavior.never,// <--- add this
),
),
Upvotes: 1