Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE dynamic path/arrow update #961

Open
jhertz123 opened this issue Apr 20, 2015 · 1 comment
Open

IE dynamic path/arrow update #961

jhertz123 opened this issue Apr 20, 2015 · 1 comment

Comments

@jhertz123
Copy link

When I try to have a path follow the mouse pointer in IE 11 it wont work, but it works fine in Chrome.

Removing the arrowhead and the code works in both browsers.

Please see the code here http://jsfiddle.net/3xy3oba2/1/

@sodlum
Copy link

sodlum commented Jul 14, 2016

I was able to get around this issue although my solution may not work for you since your implementation is far more dynamic.

My solution was forcing the container element around the svg canvas to repaint the entire canvas by reappending it.

For example:
svgContainer.appendChild(svgContainer.childNodes[0]);

For my case, the redraw isn't too intensive since it only happens once after a specific action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants