We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smooth like before
The UI become lagging
5.2.0
Android, iOS
TypeAheadField<AddressSuggestModel>( focusNode: widget.focusNode, controller: widget.controller, builder: (context, controller, focusNode) => TextFormField( decoration: _inputDecoration(), style: AppTextStyles.body( color: widget.enabled ? AppColors.text : AppColors.disable, ), controller: controller, maxLines: 3, minLines: 1, inputFormatters: _getInputFormatter(), keyboardType: widget.keyboardType, enabled: widget.enabled, focusNode: focusNode, textInputAction: TextInputAction.done, autovalidateMode: AutovalidateMode.onUserInteraction, onSaved: (value) => _onSaved(value), validator: (value) { String? error = _validate(value); _hasError = error != null; return error; }, ), debounceDuration: const Duration(milliseconds: 200), onSelected: _onSuggestionSelected, itemBuilder: (_, suggestion) => ItemSuggestionWidget( previousText: _previousText, suggestion: suggestion, ), itemSeparatorBuilder: (context, index) => const Divider( height: 0.5, thickness: 0.5, color: AppColors.onSecondaryContainer, ), suggestionsCallback: (String pattern) async { if (pattern == _previousText && !_hasError) { return []; } pattern = pattern.trim(); if (pattern.isNullOrEmpty || pattern.length < 2) { return []; } await bloc.query(pattern); return bloc.state.suggestions; }, direction: widget.suggestionDirection, hideOnEmpty: true, retainOnLoading: false, )
[Paste your logs here]
The text was updated successfully, but these errors were encountered:
This seems to happen on pages with many TextFields. Downgrading for now... :(
Sorry, something went wrong.
I've the same problem.
No branches or pull requests
Steps to reproduce
Expected results
Smooth like before
Actual results
The UI become lagging
Package Version
5.2.0
Platform
Android, iOS
Code sample
Code sample
Logs
Logs
[Paste your logs here]
Screenshots or Video
Screenshots / Video demonstration
Screen.Recording.2024-06-10.at.16.04.58.mov
The text was updated successfully, but these errors were encountered: