react-native - WebView 加载时未完全显示
问题描述
http://u9801853.viewer.maka.im/k/TLTOBXVU , 这个 URL 在 React Native webview 中没有完全显示。上滑到第三页时可以显示。第一页的信息页不显示。在 Android 原生 WebView 中加载是正常的。
解决方案
我知道问题出在哪里,如果设置了 startInLoadingState={true} 就会被中断。在 WebView 组件中,一些网页的布局被破坏了,所以,删除 startInLoadingState={true} 就可以了
推荐阅读
- pytorch - 火炬填充的工作原理
- rust - 使用字符串键从结构中获取数据,并从结构中获取数据到数组
- nestjs - 如何在来自表关系的实体存储库的查询中使用“where”
- c++ - 如何将元素添加到每 3 行的对向量中?
- node.js - 无法使用 axios 发送 cookie
- javascript - 延迟后在新标签页中打开时,Android 上的 Chrome 不提供打开 PDF
- bash - 如何在数据集中变量的值之后命名文件?
- perforce - Perforce 触发器不会运行 rubyscript
- list - 无法将数据附加到嵌套列表python
- php - 当条件为真时停止循环php