Skip to content

Incorrect draggedTrackPos X coordinate value during DnD Track #185

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions