ソースを参照

Stop height changing when fullscreenElement exists on Android, to fix: https://github.com/iou90/react-native-autoheight-webview/issues/178

iou90 5 年 前
コミット
faf67a9e92
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1
    1
      autoHeightWebView/utils.js

+ 1
- 1
autoHeightWebView/utils.js ファイルの表示

25
   var checkPostMessageTimeout;
25
   var checkPostMessageTimeout;
26
 
26
 
27
   function updateSize() {
27
   function updateSize() {
28
-    if (zoomedin || scaling) {
28
+    if (zoomedin || scaling || document.fullscreenElement) {
29
       return;
29
       return;
30
     }
30
     }
31
     if (
31
     if (