plotly / plotly/plotly.js

Double clicks not recognized through the trackpad

Open
#5,448 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug P3
Dominant language
JavaScript
Stars
18.3k
Forks
2k
Avg merge
2d 12h
Merged PRs (30d)
28

Description

I've seen a number of issues/bug reports concerning double click behavior, both here on GitHub and on Stack Overflow.

For my part, I noticed that none of the double click gestures were being picked up--in particular, double click to restore zoom level, or double click on legend to hide all other traces.

I observed this behavior while using my laptop's trackpad. However, when I plugged in a mouse, double clicks using that device were recognized just fine. I don't have trouble double clicking using the trackpad in other applications.

I know this issue report is kind of general, and doesn't really zero in on where the problem lies, but I thought I'd throw in this bit of information in case it helps in diagnosing.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing double-click behavior on a laptop trackpad versus a mouse for zoom restoration and legend interactions. Compare the two input devices in the affected chart interactions and determine what must change so both recognize double clicks; done means both reported gestures work without breaking mouse behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.