forked from Nexus/nexus
dismiss keyboard on scroll of room chat
This commit is contained in:
parent
f7847d587c
commit
c84f0e7e93
1 changed files with 2 additions and 0 deletions
|
|
@ -466,6 +466,8 @@ class RoomChat extends HookConsumerWidget {
|
|||
child: switch (controllerData) {
|
||||
AsyncData(:final value?) ||
|
||||
AsyncLoading(:final value?) => CustomScrollView(
|
||||
keyboardDismissBehavior:
|
||||
ScrollViewKeyboardDismissBehavior.onDrag,
|
||||
controller: scrollController,
|
||||
slivers: [
|
||||
SliverToBoxAdapter(
|
||||
|
|
|
|||
Loading…
Reference in a new issue