Add touch event support for lasso/select drag modes
See original GitHub issuerelated to https://github.com/plotly/plotly.js/issues/480 and https://github.com/plotly/plotly.js/issues/1098 but of higher priority.
There a few complications that I can think of:
- Right now, touch on mobile is sorta like a mousemove on desktop: it activates hover. So how would we distinguish between hover, click and select? Maybe under
layout.dragmode: 'lasso' // or 'select'
hover labels & hover/click event would be turned off on mobile and leaving only selections on touch.
It might be nice to review what other interactive graphing libraries out there are doing before going at it.
@dfcreative would you be interested in looking at this?
cc @jackparmer
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Touch events - Web APIs - MDN Web Docs - Mozilla
Touch events are similar to mouse events except they support simultaneous touches and at different locations on the touch surface. The ...
Read more >Music Creator 6 Touch Documentation - Smart tool - Cakewalk
Drag to lasso select. Insert a new note with the selected duration. Change the Event Filter to Clips. Drag to perform the alternate...
Read more >Performing probable cause analysis - BMC Documentation
Drag and select modes. Toggles the mode in which the visualization can be displayed. Use the mouse scroll wheel to zoom in and...
Read more >Manage touch events in a ViewGroup - Android Developers
In the following snippet, the class MyViewGroup extends ViewGroup . MyViewGroup contains multiple child views. If you drag your finger across a ...
Read more >Selection | Customizing User Interaction | yFiles for HTML ...
Interactive selection of graph items is supported by both ... a drag gesture is recognized, before the input mode is initialized for dragging....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Another win for crossfilter 🎉 https://github.com/plotly/plotly.js/issues/1316
@etpinard should be fixed in https://github.com/plotly/plotly.js/pull/1804