Skip to content

Possible Incorrect State Management #315

@kjowak

Description

@kjowak

Description

In the "OnSliderMouseDown" event, the state is set to "pending : true" regardless of if snapDragDisabled is true or false. I am new to React so I might be missing something, but to me this doesn't make sense. If snapDragDisabled is true, then clicking on the slider shouldn't affect the internal state. Therefore, it shouldn't restrict the outside state from updating the component when the slider is clicked.

Screenshot

image

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