Skip to content

Conversation

@DomParfitt
Copy link
Owner

Currently (as per #29) if zoom is enabled for a graph then disabling will have no effect and scrolling will still zoom in and out of the graph. The expected behaviour is that disabling zoom should prevent the graph from scaling in and out on scroll.

This appears to be a bug in the underlying package (d3-graphviz) and there is an open issue for it there: d3-graphviz#180 but because d3-graphviz is a major version ahead of graphviz-react any bugfix may not be backported to the version used by graphviz-react. Therefore we are putting a fix in place here until we are able to upgrade to the latest version to ensure the behaviour is as expected.

@DomParfitt DomParfitt added the bug Something isn't working label Dec 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants