jScrollPane strange behavior in Internet Explorer

孤人 提交于 2019-12-12 01:36:43

问题


I'm trying to use jScrollPane with fallowing page: http://demo.2klika.net/home.php#!pages/prodavaonice.html

Well, this works as expected in all major browsers except in Internet Explorer (I tried with IE7 and IE8). On first load (same goes for every page reload), IE will show list of locations, and when you click somewhere in that list, it will jump down to the last item in list. After that it will work normally (you can click on title, eg. Mesnica 1, Mesnica 2, etc..., and script will center google map on that marker).

I tried everything that I can think of (eg. removing onClick handlers for various elements, tried to catch problematic function using developer tools in IE, googling around, but no luck).

If someone can help with this, I will be very grateful. Thanks in advance.


回答1:


This has been addressed:

jScrollpane 2 IE8 Problem - strange behavior when hit top/bottom

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




回答2:


This is a known issue.

See https://github.com/vitch/jScrollPane/issues/issue/34 for more details.



来源:https://stackoverflow.com/questions/4366315/jscrollpane-strange-behavior-in-internet-explorer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!