jScrollPane 裁剪垂直内容 Chrome / Webkit
我正在尝试在一个类似于他们在 www.rolex.com 上所做的项目上实现 jScrollPane - v2.0.0beta11,但是我遇到了在 Chrome/webkit 中垂直裁剪副本的问题?
请参阅此处(需要单击底部的“查看 HTML”才能查看正确的页面)
http://www.rolex.com/en/rolex-watches/day-date/parachrom
我在最新的 2.00 beta1 上遇到了完全相同的问题,在所有操作系统上进行了测试,并且仅发生在webkit 浏览器。似乎在初始化时滚动条已正确应用,但在焦点和滚动时它会降低可滚动高度?因此,您无法在向上滚动时访问底部的几个像素或顶部。
您可以通过关注另一个元素来修复它,我注意到如果您滚动该框导致问题,然后关注另一个元素(如箭头)或浏览器外部,它就会修复它。可能是 initFocusHandlers 的问题?
注意到一些人遇到了这个问题,但似乎已经通过脚本调用排序或 reInitialiseOnImageLoad / autoReinitialise 修复了它 - 没有一个对我有用,
让我非常疯狂,因为花了几天时间试图修复它,任何建议都是邪恶的。
干杯
I'm trying to implement jScrollPane - v2.0.0beta11 on a project similar to what they have done on www.rolex.com, however I have an issue of the copy being vertically cropped within Chrome/webkit?
See here (need to click 'VIEW HTML' at the bottom to see the correct page)
http://www.rolex.com/en/rolex-watches/day-date/parachrom
I'm getting the exact same issue with the most recent 2.00 beta1, tested on all OS and only happens in webkit browsers. It seems on init the scrollBars are applied correctly but upon focus and scrolling it reduces the scrollable height? so you can't access the bottom few pixels or the top upon scrolling back up.
You can fix it by focusing on another element, I noticed if you scroll the box to cause the issue, then focus on another element (like the arrows) or outside the browser, it fixes it. Could be an issue with the initFocusHandlers?
Noticed a few people having this issue, but seemed to have fixed it with script call ordering or reInitialiseOnImageLoad / autoReinitialise - none worked for me
Driving me pretty insane as have spent a few days trying to fix it, any advice would be wicked.
Cheers
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论