question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add touch event support for lasso/select drag modes

See original GitHub issue

related 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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
jackparmercommented, Jun 23, 2017

Another win for crossfilter 🎉 https://github.com/plotly/plotly.js/issues/1316

1reaction
dycommented, Jun 22, 2017
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found