Skip to content Skip to sidebar Skip to footer

Raphael Graphic Not Showing In Ie8

Right now I'm having trouble getting a simple Raphael graphic to show in a extJS panel. afterRender: function(){ var size = Math.min(this.getHeight(), this.getWidth());

Solution 1:

I found a work around for IE8. It seems that IE8 attempts to draw onto the canvas before the ExtJS window appears on the screen. I'm guessing what's happening is that IE8 attempts to draw onto the canvas and fails and doesn't try to redraw. So the Raphael image never appears in the canvas. I was able to solve this by delaying the draw by .3 seconds using the javascript function setInterval()


Post a Comment for "Raphael Graphic Not Showing In Ie8"