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

fix(Flow): prevent drag and zoom on nodes #3799

Merged
merged 2 commits into from
Nov 13, 2023
Merged

Conversation

MEsteves22
Copy link
Contributor

@MEsteves22 MEsteves22 commented Nov 10, 2023

The following fixes were implemented:

  • nodrag class added to the text and select params to prevent dragging the node within the fields: because of this it wasn't possible to select the text inside the input for example.
  • nowheel class added to the base node to disable the default canvas pan behaviour when scrolling inside the node: without this the canvas was zooming in or out when scrolling inside the node.
  • maxHeight added to the select param to avoid having huge list.

This can be tested with the "Tron" node inside the "Main" sample.

@MEsteves22 MEsteves22 requested a review from a team as a code owner November 10, 2023 16:22
@MEsteves22 MEsteves22 requested review from plagoa and francisco-guilherme and removed request for a team November 10, 2023 16:22
@github-actions github-actions bot temporarily deployed to uikit/pr-3799 November 10, 2023 16:28 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-app/pr-3799 November 10, 2023 16:28 Destroyed
@zettca zettca merged commit 3ca8808 into master Nov 13, 2023
7 checks passed
@zettca zettca deleted the fix/HVUIKIT-6934_flow branch November 13, 2023 09:41
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.

None yet

3 participants