reaviz/reagraph

Camera Reorient on Deselect

Closed this issue · 0 comments

Describe the bug

Canvas reorients when doesn't have to.

Steps to Reproduce the Bug or Issue

  • Slightly zoom out
  • Select a node
  • Deselect node
  • Note how the canvas reorients despite not needing to

Expected behavior

It should not reorient the camera if it doesn't need to

Screenshots or Videos

2024-03-04_08-15-20.mp4

Platform

  • Reagraph Version: [e.g. 1.0.0]
  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • NodeJS version: ...

Your Example Website or App

No response

Additional context

No response