简体   繁体   English

“-webkit-overflow-scrolling:touch” - 滚动的内容是隐藏的吗?

[英]“-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.

相关问题 iOS:-webkit-overflow-scrolling:触摸和滚动 - iOS: -webkit-overflow-scrolling:touch and scrollTop Safari iOS7:使用-webkit-overflow-scrolling时无法隐藏底栏:touch; - Safari iOS7: Bottom bar can't be hidden when using -webkit-overflow-scrolling: touch; -webkit-overflow-scrolling:自动; 在触控装置上无法运作 - -webkit-overflow-scrolling: auto; not working on touch devices 移动网络:-webkit-overflow-scrolling:触摸与位置冲突:已修复 - Mobile web: -webkit-overflow-scrolling: touch conflicts with position:fixed scrollLeft通过-webkit-overflow-scrolling自动返回到旧位置: - scrollLeft automatically returning to old position with -webkit-overflow-scrolling: touch 任何方式应用'webkit-overflow-scrolling:touch'内嵌javascript? - Any way to apply 'webkit-overflow-scrolling: touch' inline with javascript? -webkit-overflow-scrolling:触摸导致jQuery动态更改不显示? - -webkit-overflow-scrolling: touch causes jQuery dynamic changes to not show? scrollTop不能与-webkit-overflow-scrolling一起使用:touch - scrollTop doesn't work with -webkit-overflow-scrolling: touch -webkit-overflow-scrolling打破绝对定位 - -webkit-overflow-scrolling breaks absolute positioning 以编程方式停止-webkit-overflow-scrolling - Programmatically halt -webkit-overflow-scrolling
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM