首页 > 解决方案 > 键盘打开时WebviewScaffold不滚动

问题描述

当键盘打开时,我在 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,
        )

标签: flutterdartscrollwebviewscaffold

解决方案


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

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

此问题已报告并已修复


推荐阅读