close keyboard on listView scroll
Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
@@ -128,6 +128,9 @@ class _ChannelListPageState extends State<ChannelListPage> {
|
||||
Expanded(
|
||||
child: AnimatedSwitcher(
|
||||
duration: const Duration(milliseconds: 350),
|
||||
child: GestureDetector(
|
||||
behavior: HitTestBehavior.opaque,
|
||||
onPanDown: (_) => FocusScope.of(context).unfocus(),
|
||||
child: _isSearchActive
|
||||
? MessageSearchListView(
|
||||
messageQuery: _channelQuery,
|
||||
@@ -162,6 +165,7 @@ class _ChannelListPageState extends State<ChannelListPage> {
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user