in IE8 using jQuery JSTree when scrolling the click handlers don't work anymore

限于喜欢 提交于 2019-12-03 21:39:30

Question (and might also be the answer): are you using the latest version? JSTree suffered a complete rewrite in v1.0rc.

Hey PhysX, I ran into this same problem and had to fix it. I couldn't find any versions of jsTree that worked, but I did find that if I set IE8 to use "Compatability View" mode, the problem went away. My next thought was "How can I force the user's browser to use this mode?" I researched compatability view here, and found that I could fix the problem just by inserting this meta tag:

<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" >
<title>My Tree</title>

This isn't an ideal solution because the rest of your website may not want this mode, but it worked for me.

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