[OPEN-1434] ExtJS, TreePanel and IE9
Hi,
I've been trying to get a TreePanel working correctly in IE9, but encountered several problems, not least of all the fact the it mis-identified IE9 as IE6, I'm well aware that this has been raised several times, and indeed I found the solution in this post.
However even after getting ExtJS to identify IE9 as IE8, events will not fire on TreePanels, this is true of the ExtJS Drag and Drop ordering in a TreePanel example (You have to use the dev tools[F12] to force IE9 into IE9 rendering mode otherwise it'll be in Quirks mode). I'm not certain why it only affects the tree panel events, as all other item's (tabs, buttons, etc) events work fine.
Regardless of planned IE9 support, could anyone give me an indication of where in the code I could drill into to perhaps work out what the issue is, so I have a bit of a head start.
I realise that IE9 is still a beta, but it has been released for some time now, and it's probably safe to assume that the final release will be fairly early in 2011. Is there a plan for minor revision of 3.3 to provide support for ExtJS before a final release of IE9 surfaces?
Thanks,
Steve
IE9 pretending to be Chrome
The proper release of IE9 (ie not the RC versions) shows the following problems in my app using ext 3.3.0
- menus don't show icons
- menus are not wide enough for text
- tree panels don't get hover/mouse events (expand buttons, tooltips, context menus) but do get drag drop events
and these all seem to be caused by the fact isIE and isIE6 are true.
So all of these are fixed by a variation on the above, I load extjs with an extra bit of code between loading the base and all the rest of Ext
Quote:
<script type='text/javascript' src='http://extjs-public.googlecode.com/svn/tags/extjs-3.3.0/release/adapter/ext/ext-base.js'></script>
<script type='text/javascript'>
// hack hack hackity hack
if (Ext.isIE6 && /msie 9/.test(navigator.userAgent.toLowerCase())) {
Ext.isIE6 = Ext.isIE = false;
Ext.isChrome = Ext.isIE9 = true;
}</script>
<script type='text/javascript' src='http://extjs-public.googlecode.com/svn/tags/extjs-3.3.0/release/ext-all.js'></script>
The "isIE9" is NOT a standard ext flag, but I add it so that I can internally check for this hack.
We are seeing the same issue
Just wanted to add my two cents that this is a major bug for us and we would like to have a fix as soon as possible. The Chrome hack really won't work for us.