observablehq / observablehq/plot
in the pointer interaction, track touchend/touchcancel?
Nobody has claimed this yet.
- 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:
- "can't get rid of" the interactive tip (reported by @CobusT)
- the "pointer-driven mark" does not reset on https://observablehq.com/@observablehq/plot-pointer-driven-marks. (reported by https://mastodon.online/@rkaravia/113193992773718603)
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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