Skip to content

[Slider] onValueCommit not being called properly #1760

Open
@vctormb

Description

@vctormb

Bug report

Sometimes the onValueCommit prop is not being called properly when moving the thumb.

Current Behavior

When moving the thumb sometimes the onValueCommit prop is not called.

Expected behavior

To always call the onValueCommit prop when the user stops sliding

Reproducible example

I'm using the same example from the documentation.

Screen.Recording.2022-11-06.at.12.15.41.mov

Your environment

Software Name(s) Version
Radix Package(s) slider 1.1.0
React n/a 18.2
Browser chrome 107.0.5304.87 (Official Build) (arm64)
Assistive tech
Node n/a
npm/yarn
Operating System macOS Version 13.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions