observablehq / observablehq/plot

in the pointer interaction, track touchend/touchcancel?

Open
#2,177 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
HTML
Stars
5.4k
Forks
244
PR merge metrics
No merged PRs in 30d

Description

There seems to be room for improvement of the pointer interaction on mobile.

I've received two reports on the same day that:

In fact you can end the pointer interaction by "holding and dragging out", but it's not very natural. On mobile we'd expect ending the touch gesture to end the interaction (unless it's sticky, after a tap maybe?)?

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 at the pointer interaction entry point and reproduce the behavior using the Observable Plot pointer-driven marks example linked in the issue. Compare ending a mobile gesture with touchend and touchcancel, and clarify whether a tap should remain sticky; done means the interactive tip and pointer-driven mark reset as expected after the gesture.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.