Skip to content

Preventing slide on click #158

@monolithed

Description

@monolithed

In continuation of the discussion about the behavior of onlyHandleDraggable, I’d like to suggest adding a flag that would prevent sliding on click.

I tried creating a custom component and attaching a drag event (down + move) to it, but they don't bubble up even when using reactCompareSliderRef. Unfortunately, there’s no way to prevent event propagation in onPositionChange either.

It seems like solving this without modifying the internal logic isn't possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions