fluent_ui icon indicating copy to clipboard operation
fluent_ui copied to clipboard

Bug TextFormBox minLines or maxLines: "no ScrollPosition attached"🐛

Open DreezDev opened this issue 4 years ago • 4 comments

Describe the bug Hello, when I use the fields of maximum or minimum lines in my TextFormBox they work well but when reducing the size of the flutter page it gives the following error:

"The Scrollbar's ScrollController has no ScrollPosition attached."

I already tried different methods and the only solution I find is to remove the maximum and minimum lines of my forms

Screenshots image

DreezDev avatar Aug 17 '22 14:08 DreezDev

What version are you using? Could you provide a reproducible snippet?

bdlukaa avatar Aug 17 '22 17:08 bdlukaa

Versión: Fluent: 4.0.0-pre.2

Code (In row widget): TextFormBox( minLines: 1, maxLines: 3, controller: _controller, header: _txtlabel, autovalidateMode: AutovalidateMode.onUserInteraction, key: _formKey, validator: (value) => value != null && value.isEmpty ? '$_txtlabel es obligatorio' : null, );

DreezDev avatar Aug 18 '22 14:08 DreezDev

Sorry, but I can't reproduce this issue. Can you provide more info?

bdlukaa avatar Aug 30 '22 20:08 bdlukaa

fixed with scrollbar controller on the field text

DreezDev avatar Sep 04 '22 17:09 DreezDev