Kaynağa Gözat

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

iou90 4 yıl önce
ebeveyn
işleme
faf67a9e92
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      autoHeightWebView/utils.js

+ 1
- 1
autoHeightWebView/utils.js Dosyayı Görüntüle

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 (