You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additionally, on Mozilla Firefox, I cannot type anything using the keyboard. To work around this issue, I wrapped the TypeAheadField with a GestureDetector and requested a focus on tap: onTap: () { FocusScope.of(context).requestFocus(focusNode); },
For the main bug, I also found a workaround in the onSelected function. I did the following: focusNode.unfocus(); WidgetsBinding.instance.addPostFrameCallback((_) { focusNode.requestFocus(); Future.delayed(Duration.zero, () { contrl.selection = TextSelection.collapsed(offset: contrl.text.length); }); });
I think there might be a better way to solve these problems. I read something about focus behavior working differently in Mozilla Firefox, which might cause these issues, but that's just a guess.
Steps to reproduce
Expected results
Taken the code input example, you choose the option "Apple" and then write eg."aaa" the value of TextField should be "Appleaaa"
Actual results
value of TextField is "Apple"
Package Version
5.2.0
Platform
Web
Code sample
Code sample
Logs
Logs
[Paste your logs here]
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]The text was updated successfully, but these errors were encountered: