Update packages/stream_chat_flutter/lib/src/autocomplete/stream_autocomplete.dart
This commit is contained in:
@@ -508,12 +508,12 @@ class _StreamAutocompleteState extends State<StreamAutocomplete> {
|
|||||||
final shouldShowOptions = _shouldShowOptions;
|
final shouldShowOptions = _shouldShowOptions;
|
||||||
final optionViewBuilder = shouldShowOptions
|
final optionViewBuilder = shouldShowOptions
|
||||||
? TextFieldTapRegion(
|
? TextFieldTapRegion(
|
||||||
child: _currentTrigger!.optionsViewBuilder(
|
child: _currentTrigger!.optionsViewBuilder(
|
||||||
context,
|
context,
|
||||||
_currentQuery!,
|
_currentQuery!,
|
||||||
_messageEditingController,
|
_messageEditingController,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
: null;
|
: null;
|
||||||
|
|
||||||
return PortalTarget(
|
return PortalTarget(
|
||||||
|
|||||||
Reference in New Issue
Block a user