react-force-graph icon indicating copy to clipboard operation
react-force-graph copied to clipboard

Canvas dirty rectangle after changing the zooming scale of browsers

Open xiaoxiaobt opened this issue 3 years ago • 0 comments

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:

  1. Go to https://vasturiano.github.io/react-force-graph/example/fit-to-canvas/
  2. Change zoom level of browser to 80%
  3. Move the graph around
  4. See error

Expected behavior Moving the graph does not leave dirty inks

Screenshots image

Desktop (please complete the following information):

  • OS: Windows 10 19042.1706
  • Browser: Chrome 102

Additional context Add any other context about the problem here.

xiaoxiaobt avatar Jun 01 '22 10:06 xiaoxiaobt