iou90 hace 5 años
padre
commit
6669409bea
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      autoHeightWebView/index.js

+ 1
- 1
autoHeightWebView/index.js Ver fichero

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({