Skip to content

Incorrect draggedTrackPos X coordinate value during DnD Track #185

@RomanSuvorov

Description

@RomanSuvorov

When drag track to the new position, draggedTrackPos X should be set like start of rect this.trackRef.current, not a clientX. This produces bug, when track goes faster, than mouse this do.

draggedTrackPos: [clientX, clientY]

https://codesandbox.io/s/react-range-forked-6izpe3?file=/src/index.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions