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) {
|
child: switch (controllerData) {
|
||||||
AsyncData(:final value?) ||
|
AsyncData(:final value?) ||
|
||||||
AsyncLoading(:final value?) => CustomScrollView(
|
AsyncLoading(:final value?) => CustomScrollView(
|
||||||
|
keyboardDismissBehavior:
|
||||||
|
ScrollViewKeyboardDismissBehavior.onDrag,
|
||||||
controller: scrollController,
|
controller: scrollController,
|
||||||
slivers: [
|
slivers: [
|
||||||
SliverToBoxAdapter(
|
SliverToBoxAdapter(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue