View Full Version : Chart/draw sprites being written with hidden="false" in IE9

27 Aug 2012, 5:47 PM
I have a set of charts and draw surfaces in my application that are working correctly in IE7, IE8, Chrome, and Firefox.

However, in IE9 the charts are all blank. Using the IE9 developer tool I've found that every sprite in every SVG has an attribute hidden="false". If I delete that attribute using the developer tool the sprite appears correctly, and if I do it for every sprite in a chart I get a fully functioning chart.

I'm not able to reproduce this problem with the sample charts though, so I'm left with two things to figure out:

What about my application makes Ext write hidden="false" to all my SVG sprites in IE9 where it doesn't in the samples
What branch of code inside ExtJS thinks setting hidden="false" in IE9 will make a sprite visible.

I don't have time yet to isolate a test case but if any Sencha support staff want to see this issue in action I can share a URL to my application privately.

29 Aug 2012, 6:02 PM
I found modernizr to be the cause of this issue, and updating it from 2.5.3 to 2.6.1 seems to have solved the problem.