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

probeType为3时触发频率问题 #32

Closed
Camellia55 opened this issue Aug 16, 2018 · 2 comments
Closed

probeType为3时触发频率问题 #32

Camellia55 opened this issue Aug 16, 2018 · 2 comments

Comments

@Camellia55
Copy link

一开始仿照better-scroll+vue使用的probeType为1,上拉加载的时候,依次提示“上拉加载更多”、“释放刷新”、“数据加载完成”,文字切换正常;
后面应为要实现固定头行和头列的滚动table,必须probeType为3,实时计算头行和头列的移动距离保持其在页面上的位置不变,但是文字提示就没办法正常了。原因是一直触发“scroll”事件,scroll事件中提示文案是“释放刷新”。所以,不管怎么滚动提示文字都是“释放刷新”,但其实它是有依次切换文案了,因为看不到变化的过程,且最后都是“释放刷新”。
有遇到类似的问题吗?或者说说probeType为3时触发频率是咋样的?

@dolymood
Copy link
Member

better scroll 官方群了解一波

@ailaiwuyou
Copy link

一开始仿照better-scroll+vue使用的probeType为1,上拉加载的时候,依次提示“上拉加载更多”、“释放刷新”、“数据加载完成”,文字切换正常;
后面应为要实现固定头行和头列的滚动table,必须probeType为3,实时计算头行和头列的移动距离保持其在页面上的位置不变,但是文字提示就没办法正常了。原因是一直触发“scroll”事件,scroll事件中提示文案是“释放刷新”。所以,不管怎么滚动提示文字都是“释放刷新”,但其实它是有依次切换文案了,因为看不到变化的过程,且最后都是“释放刷新”。
有遇到类似的问题吗?或者说说probeType为3时触发频率是咋样的?

遇到了,请问是怎么解决的

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

3 participants