[英]“-webkit-overflow-scrolling: touch” - scrolled content is hidden?
So I found a problem with my website so have added in 所以我发现我的网站有问题所以加入了
“-webkit-overflow-scrolling: touch”
“-webkit-overflow-scrolling:touch”
So that the scrolling left-right now works when content overflows (all the content is within an iframe). 因此,当内容溢出(所有内容都在iframe中)时,左右滚动现在可以正常工作。 However I've noticed that when you scroll either vertically or horizontally within this iframe any content that wasn't initially draw on the page is not shown, it's just white.
但是我注意到,当你在这个iframe中垂直或水平滚动时,任何最初没有在页面上绘制的内容都没有显示,它只是白色。
Is there something I'm missing? 有什么我想念的吗?
http://cantina.co/2012/03/06/ios-5-native-scrolling-grins-and-gothcas/ http://cantina.co/2012/03/06/ios-5-native-scrolling-grins-and-gothcas/
This pretty much sums it up, and provides one pretty poor but usable implementation. 这几乎总结了它,并提供了一个相当差但可用的实现。 The fault lies with Apple and this will be a temporary workaround.
错误在于Apple,这将是一个临时的解决方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.