Skip to content

insights: "start at Y axis" strange behavior

Created by: unclejustin

Toggling "start at Y axis" on the insights dashboard cause reflow and "dragging" problems. Suspect the click is also triggering a drag event at the same time. A possible fix is to stopPropagation on the click event.

https://user-images.githubusercontent.com/1855233/140140349-5633b071-b271-4203-84fa-01f1bce02d15.mp4

Related https://github.com/sourcegraph/sourcegraph/issues/25060