html5 - SVG line markers not updating when line moves in IE10? -
i have svg lines line markers on them, , have script moves lines around. works fine on browsers, including ie9.
however, tried on ie10, , line markers left behind when line moves.
an example of can seen here: http://jsfiddle.net/swyrk/8/
i have tried on both windows 7 , 8.
anyone know what's going on? ie10 bug, or there way move line , markers?
(note actual application performance sensitive, want avoid doing re-creating lines every frame while move them, or something.)
- edit: seems real ie 10 bug. i've found 1 open issue in ie bug tracker (which requires microsoft account see, makes not visible google. hello?), have added information to. ie has yet accept issue.
if there other work-arounds people can think of, great hear. removing end markers, rendering that, , re-adding them works-ish (shows visible flashing), not acceptable in my application, unfortunately.
this quick way of doing it, works well. have not noticed flickering or performance related issues.
simply re-add svg node in it's original place:
if (navigator.appversion.indexof("msie 10") != -1) { svgnode.parentnode.insertbefore(svgnode, svgnode); } of course, use browser sniffing of choice..
Comments
Post a Comment