modal_bottom_sheet icon indicating copy to clipboard operation
modal_bottom_sheet copied to clipboard

text filed input, the whole page will rebuild.

Open cryptpa opened this issue 3 years ago • 6 comments

Hi, I have a stateless page, every time the sotfkeyboard lay down after finish text filed input, the whole page will rebuild.

And the text just input will gone. I just want to know why this behavior will happen since textfield should be normal just like normal page right? I almost face this issue in every single page when I using showBottomSheet to transition that page.

It's very very much appreciated it anyone could shine a light on me on this puzzle, this is really annoying, if anyone could teach me how to resolve it, that would save my life.

cryptpa avatar May 24 '21 16:05 cryptpa

Could you share some code I could test, please?

jamesblasco avatar May 25 '21 15:05 jamesblasco

I have same problem. If have an TextField or TextFormField inside modal and tap in fields, the keyboards up and rebuild all widgets.

silvinhodev avatar May 29 '21 22:05 silvinhodev

I have same problem. If have an TextField or TextFormField inside modal and tap in fields, the keyboards up and rebuild all widgets.

Solved my problem!

silvinhodev avatar Jun 04 '21 13:06 silvinhodev

I have same problem. If have an TextField or TextFormField inside modal and tap in fields, the keyboards up and rebuild all widgets.

Solved my problem!

How you resolve this problem? I face to the same problem.

cernard avatar Jun 21 '21 08:06 cernard

I have same problem. If have an TextField or TextFormField inside modal and tap in fields, the keyboards up and rebuild all widgets.

Solved my problem!

How you resolve this problem? I face to the same problem.

I put a Scaffold inside bottom_sheet and check yours initialize text (if use initialvalue or controller in TextFields).

silvinhodev avatar Jun 21 '21 12:06 silvinhodev

I have same problem. If have an TextField or TextFormField inside modal and tap in fields, the keyboards up and rebuild all widgets.

Solved my problem!

How you resolve this problem? I face to the same problem.

I put a Scaffold inside bottom_sheet and check yours initialize text (if use initialvalue or controller in TextFields).

Thanks!

cernard avatar Jun 28 '21 12:06 cernard