fix(ui): autocomplete clicks on web
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
for `WebOrDesktopAttachmentPickerOption` in `StreamMessageInput`.
|
||||
- [[#1250]](https://github.com/GetStream/stream-chat-flutter/issues/1250) Fixed bottomRow widgetSpans getting resized
|
||||
twice when `textScaling` is enabled.
|
||||
- [[#1498]](<https://github.com/GetStream/stream-chat-flutter/issues/1498>) Fixed mentioning on some platforms.
|
||||
|
||||
✅ Added
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ dependencies:
|
||||
cupertino_icons: ^1.0.4
|
||||
flutter:
|
||||
sdk: flutter
|
||||
responsive_builder: ^0.6.4
|
||||
responsive_builder: ^0.7.0
|
||||
stream_chat_flutter:
|
||||
path: ../
|
||||
stream_chat_localizations:
|
||||
|
||||
@@ -610,7 +610,8 @@ class StreamAutocompleteOptions<T extends Object> extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
final height = MediaQuery.of(context).size.height;
|
||||
final colorTheme = StreamChatTheme.of(context).colorTheme;
|
||||
return Card(
|
||||
return TextFieldTapRegion(
|
||||
child: Card(
|
||||
margin: margin,
|
||||
elevation: elevation,
|
||||
color: color ?? colorTheme.barsBg,
|
||||
@@ -637,6 +638,7 @@ class StreamAutocompleteOptions<T extends Object> extends StatelessWidget {
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user