0

当键盘打开时,我在 Flutter 中的 WebviewScaffold 没有滚动。我将如何解决这个问题?这是我的代码

WebviewScaffold(
          url: url,
          scrollBar: true,
          clearCache: false,
          clearCookies: false,
          withJavascript: true,
          geolocationEnabled: true,
          // run javascript
          withZoom: false,
          // if you want the user zoom-in and zoom-out
          hidden: false,
          // put it true if you want to show CircularProgressIndicator while waiting for the page to load
          appCacheEnabled: true,
        )
4

2 回答 2

0

您可以从这里获得一些帮助,您是这个项目中的 webview:

https://github.com/npm-ued/flutter_webview_plugin

此问题已报告并已修复

于 2020-05-06T10:41:07.983 回答
0
Scaffold(
      body: ConstrainedBox(
        constraints: BoxConstraints(maxHeight: MediaQuery.of(context).size.height),
        child: Container(
          child: <your widget>,

        ),
      ),
    )
于 2020-05-07T06:41:28.017 回答