thecreation / jquery-asPieProgress

A jQuery plugin that animate the pie progress.
GNU Lesser General Public License v3.0
42 stars 22 forks source link

IE11 does not refresh path after changing d attr #5

Closed zsakmany closed 9 years ago

zsakmany commented 9 years ago

We use the chart to represent how much time you have left in a quiz. There is a timer in the content div. As the progressBar grows, the content div covers the path. I managed to make it work, by changing the logic you drew the line. Instead of changing the strokeDashoffset, I increment the first part of the strokeDasharray. this.bar.style.strokeDasharray = (length-offset) + " " + length; // this.bar.style.strokeDashoffset = offset; this.bar.style.strokeDashoffset = 0; Hope it'll help! Thanks the plugin! aspieprogressbug

thecreation commented 9 years ago

hello, I just add time count down support. Please update your lib and check the example.

Regards.

zsakmany commented 9 years ago

The problem is gone, and IE does refreshes the path. The end of the line still looks and acts weird, but it is better! Looks good in Chrome: 40.0.2214.115 m

thecreation commented 9 years ago

Thanks for the response. I will check ie later.