Long press to select objects on mobile / tablet / touch devices & simple press to pan #7602
kirill-konshin
started this conversation in
Show and tell
Replies: 2 comments 1 reply
-
let me see if there is a nice solution. |
Beta Was this translation helpful? Give feedback.
1 reply
-
You should use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've put together a demo https://jsfiddle.net/dfuse/xhy5j9dp/ with desired functionality:
Demo works fine, but I am wondering if there's a more elegant solution?
In essence, the demo works like this:
Additionally I've created a small visual clue for longpress. For sake of demo I'm not using true mobile handlers, just regular mouse handlers.
Screen.Recording.2022-01-11.at.4.04.02.PM.mp4
Beta Was this translation helpful? Give feedback.
All reactions