Skip to content

How to detect click on bar vs drag #1033

Description

@mbret

My use case is that I need to do X when user click somewhere on the bar but not by dragging the knob and Y when the user drag the knob.

I did not find any callback or state to let me do that. I also noticed that activeHandleRender has the prop dragging as true even when I don't drag it. I initially wanted to watch the props of the activeHandleRender as workaround but I cannot because of that.

Is there a feature I did not see or it's just not possible currently ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions