FormidableLabs / FormidableLabs/victory

VictoryBrushContainer handleComponent renders but doesn't drag

Open
#2,340 0 comments 0 reactions 0 assignees View on GitHub
Issue: Accepted Type: Bug :bug:
Dominant language
TypeScript
Stars
11.2k
Forks
536
PR merge metrics
No merged PRs in 30d

Description

When a handleComponent svg is defined, the handle does not drag on page load. Dragging above or below the handle it drags the edge of the brush as it should but dragging the handle itself it doesn't. The handle becomes dragable after the brush is moved or dragged some other way so this issue is only on initial load.

Affects current version. Issue can be replicated by pasting the following code in the editable docs page at https://formidable.com/open-source/victory/docs/victory-brush-container/

```



}
/>
}
>

```

The handle should be dragable on page load and with any subsequent interaction.

Or, could this be an issue with the example provided for the handle? I tried a few svgs and all had the problem described, although they all rendered fine.

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.