Open jianzhou520 opened 3 years ago
@Tidyzq 我也遇到此问题 小程序官方组件展示 官方demo里就可以复现。
红米 k30pro
Android 10
MIUI 12.0.9
微信 8.0.7
使用 小程序官方sticky组件demo 也是不吸顶
ios 没有问题
小程序的 intersectionObserver api 很神奇,在Android下,threshold: 1, 往监听的目标元素外层容器加个左右padding 就能触发回调函数了。具体效果看这里:https://developers.weixin.qq.com/s/687mLWmC7jrJ
请问有解决吗?我这小米8也是不能吸顶
小程序的 intersectionObserver api 很神奇,在Android下,threshold: 1, 往监听的目标元素外层容器加个左右padding 就能触发回调函数了。具体效果看这里:https://developers.weixin.qq.com/s/687mLWmC7jrJ
这个有用
其他安卓手机和iOS机型表现正常,小米手机不生效
Wechat Version 7.0.19 MIUI 10.2.35 model MI 9 Android 9