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

added-move nodes with touchscreen #10745

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

draunger
Copy link
Contributor

@draunger draunger commented Feb 7, 2025

description

added the dragging of a node in touch screen

in drag.js file:

  • Make dragging work smoothly on all devices (phone, tablet, computer)
  • Let the screen scroll and pan naturally
  • Start dragging only after moving a little bit (5 pixels)
  • Handle touch and mouse events in the same way
  • Remove complicated device-specific rules
  • Make the code simpler and easier to understand

in drag_node.js file:

  • Help users drag map nodes (points) more precisely
  • Work well on mobile and desktop
  • Prevent accidental node movements
  • Allow map panning while dragging nodes
  • Make touch interactions feel natural

solves:

#9451

@draunger
Copy link
Contributor Author

draunger commented Feb 7, 2025

hey @tyrasd i have add some functionality regarding moving of a node by touch in a touch screen , if you seem any issue
please comment on that...

@draunger draunger changed the title added-moving of nodes with touchscreen added-move nodes with touchscreen Feb 7, 2025
@tyrasd tyrasd added the touch-stylus An issue with touchscreen or pen input label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
touch-stylus An issue with touchscreen or pen input
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants