提交 f6e5429c authored 作者: shixiaochen's avatar shixiaochen

1、优化MyScrollView(适配iOS软键盘隐藏项目中交互有问题,暂时去掉);

上级 e0d939ab
...@@ -48,16 +48,16 @@ class MyScrollView extends StatelessWidget { ...@@ -48,16 +48,16 @@ class MyScrollView extends StatelessWidget {
), ),
), ),
); );
// 软键盘处理 // 软键盘处理 交互有问题,暂时去掉
if (keyboardConfig != null) { // if (keyboardConfig != null) {
contents = KeyboardActions( // contents = KeyboardActions(
isDialog: bottomButton != null, // isDialog: bottomButton != null,
overscroll: overScroll, // overscroll: overScroll,
config: keyboardConfig!, // config: keyboardConfig!,
tapOutsideBehavior: TapOutsideBehavior.opaqueDismiss, // tapOutsideBehavior: TapOutsideBehavior.opaqueDismiss,
child: contents, // child: contents,
); // );
} // }
// 设置底部按钮 // 设置底部按钮
if (bottomButton != null) { if (bottomButton != null) {
contents = Column( contents = Column(
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论