通过paulirish获得Infinite-Scroll在iPhone上工作 [英] Getting Infinite-Scroll by paulirish to work on iPhone
问题描述
我一直在我的网站上实施Paul Irish的Infinite-Scroll。它可以在桌面浏览器上运行,但在移动设备上(特别是iPhone)它并不是直接的。解决方法是稍微放大,这会使滚动事件触发,从而触发无限滚动。
I've been implementing Infinite-Scroll by Paul Irish on my site. It works on desktop browsers, but on mobile (iPhone specifically) it doesn't straight away. The work around is zooming in slightly, that makes the scroll event fire which triggers infinite scroll.
此处还可以查看问题报告:
https://github.com/paulirish/infinite-scroll/issues/3
Also see the issue report here: https://github.com/paulirish/infinite-scroll/issues/3
我的问题是:有没有解决方案呢?
My question is: is there a solution for this?
我注意到Tumblr在没有解决方法的情况下进行无限滚动工作。
I've noticed Tumblr makes infinite-scroll work without a workaround.
如果您要查看 http://youworkit.tumblr。 iPhone上的com / ,然后从手机切换到标准桌面视图,无限滚动确实无需放大。
If you were to check http://youworkit.tumblr.com/ on iPhone, then switch from the mobile to the standard desktop view, infinite-scroll does work without zooming in.
有什么想法吗?
推荐答案
这对我有用:
JQuery Detect Scroll at Bottom
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0">
这篇关于通过paulirish获得Infinite-Scroll在iPhone上工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!