Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flashing graph when drag&drop node #237

Closed
danielcaldas opened this issue Sep 29, 2019 · 1 comment
Closed

Flashing graph when drag&drop node #237

danielcaldas opened this issue Sep 29, 2019 · 1 comment
Assignees
Labels
enhancement improving existent functionality or performance related Hacktoberfest Hacktoberfest label

Comments

@danielcaldas
Copy link
Owner

Is your feature request related to a problem? Please describe.
The library offers the ability to drag and drop nodes out of the box. At the same time, the library allows highlight of neighbors only when configs such as linkHighlightBehavior and nodeHighlightBehavior are active.

The problem is, when you have the highlighted behavior active and you drag and drop around nodes, it gets a bit distracting for the user to see the graph flashing when the mouse moves out of the node but is still performing the drag movement. See below GIF animation to get a picture of the flashing issue.

flashing-issue

Describe the solution you'd like
While the user is perform a drag&drop just make sure that highlight behavior is locked and cannot be modified by the fact that the mouse is leaving the node.

Basically ensure that the following logic is in place:

if the user is performing a drag and drop should freeze the updates of the node and link highlighted values.

Describe alternatives you've considered
None so far.

@danielcaldas danielcaldas added enhancement improving existent functionality or performance related help wanted Hacktoberfest Hacktoberfest label in progress and removed help wanted labels Sep 29, 2019
@danielcaldas danielcaldas self-assigned this Oct 1, 2019
@danielcaldas
Copy link
Owner Author

Fixed with #242

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improving existent functionality or performance related Hacktoberfest Hacktoberfest label
Projects
None yet
Development

No branches or pull requests

1 participant