소스 검색

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 (