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

Path with arrow do not update properly when moved #733

Open
hifiverhee opened this issue May 22, 2013 · 2 comments
Open

Path with arrow do not update properly when moved #733

hifiverhee opened this issue May 22, 2013 · 2 comments

Comments

@hifiverhee
Copy link

Hi,
This is Gabriel.
Thanks for the nice library.

I have a question about path which has arrow.
This is working with FF, Chrome and IE8, IE9.
As you can see when you move the rectangle the linked path's arrow do not move with arrow in IE10.

http://jsfiddle.net/TnhVn/7/
Please check this.

Best regards,
Gabriel.

@joaograca
Copy link

Same here

@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

3 participants