influxdata / influxdata/giraffe

update SizedPlot to use onClick instead on mouseUp for singleClick interactions

Open
#514 0 comments 0 reactions 1 assignee Claimed by @ChitlangeSahas View on GitHub
Dominant language
TypeScript
Stars
189
Forks
33
Avg merge
3d 15h
Merged PRs (30d)
4

Description

A side effect of having mouseUp to handle the single-click behavior in SizedPlot was the launching of the annotation-create overlay when zooming into the map. This makes sense why, when zooming, we click on the graph, drag it and release the mouse. This triggered the `mouseUp`.

Fix: use `onClick` instead.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.