jScrollpane 2 IE8问题 - 击中顶部/底部时的奇怪行为 [英] jScrollpane 2 IE8 Problem - strange behavior when hit top/bottom

查看:86
本文介绍了jScrollpane 2 IE8问题 - 击中顶部/底部时的奇怪行为的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://jscrollpane.kelvinluck.com/fullpage_scroll.html ,也许还有其他演示,但也在我的网站:(

http://jscrollpane.kelvinluck.com/fullpage_scroll.html and maybe in other demos, but also in my site :(

在IE8上(也许也是6/7)和示例BOTH,将栏拖到绝对位置,顶部或底部然后点击div,你将滚动到页面顶部或div ..
这只发生在你使用鼠标点击而不是轮子

on IE8 (maybe also 6/7) and the example "BOTH", drag the bar to a absolute position, top or bottom then click on the div, you`ll get scrolled to the top of the page or the div.. this only happens if you used the mouse click and NOT the wheel

我不知道如何解决这个问题,我使用api.reinitialise();但显然这不是问题

i dont know how to fix this, im using the api.reinitialise(); but apparently thats not the problem

我可以在必要时发布我的代码但它甚至在演示中如此......当你在窗口中点击alt + tab(在我的网站中)时,你也可以看到滚动自动移动

i can post my code if necessary but its even on the demos so..btw you can also see the scroll automoving when you hit alt+tab in the window (in my site)

哦,发现另一个有同样问题的用户
Internet Explorer中的jScrollPane奇怪行为

oh, found another user with the same problem jScrollPane strange behavior in Internet Explorer

推荐答案

这已在jScrollPane存储库中修复:

This has been fixed in the jScrollPane repository:

https://github.com/vitch/jScrollPane/commit/b80165e3c5cb6d21f9569cacaffd55d33435d23c

从github或我的网站获取最新代码,一切正常。感谢错误报告!

Grab the latest code from github or my site and it should all work fine. Thanks for the bug report!

这篇关于jScrollpane 2 IE8问题 - 击中顶部/底部时的奇怪行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆