Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Bad performance when dragging nodes #11

Open
nlaha opened this issue Oct 16, 2022 · 0 comments
Open

Bad performance when dragging nodes #11

nlaha opened this issue Oct 16, 2022 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@nlaha
Copy link
Owner

nlaha commented Oct 16, 2022

Describe the bug
When dragging a node, the node doesn't update its position smoothly.

To Reproduce
Steps to reproduce the behavior:

  1. Open or create a dialogue tree
  2. Drag a node around
  3. Observe low framerate

Expected behavior
The nodes should move around smoothly at a high framerate

Screenshots
n/a

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Edge 106.0.1370.42 (Official Build) (64-bit)

Additional context
Just from my initial digging, it seems like it might be caused by emotion but I'm not sure where to go from there. This is definitely caused by the JoyUI elements that make up the nodes as none of the react-flow examples have this problem.

@nlaha nlaha added bug Something isn't working help wanted Extra attention is needed labels Oct 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant