react-force-graph
react-force-graph copied to clipboard
Canvas dirty rectangle after changing the zooming scale of browsers
Describe the bug After changing the zoom level and move the graph around, some extra inks being rendered to user interface
To Reproduce Steps to reproduce the behavior:
- Go to https://vasturiano.github.io/react-force-graph/example/fit-to-canvas/
- Change zoom level of browser to 80%
- Move the graph around
- See error
Expected behavior Moving the graph does not leave dirty inks
Screenshots

Desktop (please complete the following information):
- OS: Windows 10 19042.1706
- Browser: Chrome 102
Additional context Add any other context about the problem here.