Skip to content

Conversation

@Johnny-Arroyo
Copy link
Contributor

Overview

Issue Type

  • Bug
  • Feature
  • Tech Debt

Description
Removed ability to drag new edges from any currently used edge handles by styling the component <react-flow__handle.connectionindicator> directly to not allow pointer events.

Ticket Item

RL - 46

Steps to Validate Feature

  1. Hover over any edges handle.
  2. Notice lack of pointer change to crosshair pointer.
  3. Attempt to click and drag.
  4. Nothing happenes.

Previous behavior
Hovering over edge handle would change pointer to crosshair then on click, hold, and drag and new edge would appear starting at edge handle and end at cursor. The new handle could not however be connected to anything as that event was also disabled.

Expected behavior
Now works as described above

Additional context
This change was made on the same branch as RL-45

…o not allow pointer events on react-flow__handle.connectionindicator
Copy link
Contributor

@Ponch49 Ponch49 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work Johnny!! Looks great!

Copy link
Contributor

@ash-t-luu ash-t-luu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ash-t-luu ash-t-luu merged commit 189b7ed into dev Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants