iou90 5 年前
父节点
当前提交
6669409bea
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      autoHeightWebView/index.js

+ 1
- 1
autoHeightWebView/index.js 查看文件

46
         return;
46
         return;
47
       }
47
       }
48
       const { height, width, zoomedin } = data;
48
       const { height, width, zoomedin } = data;
49
-      !scrollEnabled && scrollEnabledWithZoomedin && setScrollable(zoomedin);
49
+      !scrollEnabled && scrollEnabledWithZoomedin && setScrollable(!!zoomedin);
50
       const { height: previousHeight, width: previousWidth } = size;
50
       const { height: previousHeight, width: previousWidth } = size;
51
       isSizeChanged({ height, previousHeight, width, previousWidth }) &&
51
       isSizeChanged({ height, previousHeight, width, previousWidth }) &&
52
         setSize({
52
         setSize({