Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sticky在小米手机中不生效 #20

Open
jianzhou520 opened this issue Dec 11, 2020 · 6 comments
Open

sticky在小米手机中不生效 #20

jianzhou520 opened this issue Dec 11, 2020 · 6 comments

Comments

@jianzhou520
Copy link

其他安卓手机和iOS机型表现正常,小米手机不生效

Wechat Version 7.0.19
MIUI 10.2.35
model MI 9
Android 9

@Tidyzq
Copy link
Contributor

Tidyzq commented Dec 11, 2020

能否提供一个复现的代码片段?https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

@cd-butterfly
Copy link

@Tidyzq 我也遇到此问题 小程序官方组件展示 官方demo里就可以复现。

@yourself911
Copy link

红米 k30pro
Android 10
MIUI 12.0.9
微信 8.0.7
使用 小程序官方sticky组件demo 也是不吸顶
ios 没有问题

@yourself911
Copy link

小程序的 intersectionObserver api 很神奇,在Android下,threshold: 1, 往监听的目标元素外层容器加个左右padding 就能触发回调函数了。具体效果看这里:https://developers.weixin.qq.com/s/687mLWmC7jrJ

@xyzland
Copy link

xyzland commented Sep 15, 2022

请问有解决吗?我这小米8也是不能吸顶

@kingsley2036
Copy link

小程序的 intersectionObserver api 很神奇,在Android下,threshold: 1, 往监听的目标元素外层容器加个左右padding 就能触发回调函数了。具体效果看这里:https://developers.weixin.qq.com/s/687mLWmC7jrJ

这个有用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants