提交 b8846853 作者: 方治民

fix: 标记图片懒加载在 APP 平台无法触发回调导致显示异常的 Bug,改为直接触发显示(待跟进修复)

上级 13eadbe6
...@@ -180,6 +180,14 @@ ...@@ -180,6 +180,14 @@
this.handleFade() this.handleFade()
this.endObserver() this.endObserver()
} }
// #ifndef H5
// 当前版本 SDK 存在 Bug 会导致无法触发可视观测 observe 回调, 所以直接执行
// https://github.com/dcloudio/uni-app/issues/5201
this.handleFade()
this.endObserver()
console.warn('[Bug] uni.createIntersectionObserver')
// #endif
}, },
handleAppear(e) { handleAppear(e) {
if (this.observer || this.show) return; if (this.observer || this.show) return;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论