influxdata / influxdata/giraffe
update SizedPlot to use onClick instead on mouseUp for singleClick interactions
Open
- 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
Assessment
This issue has not been assessed yet.