Skip to content

Range: Clicking on marks label will not update the slider #599

Description

@leventecsordas

Clicking on the mark labels of a range slider will not update the slider.

Steps to reproduce:

  1. got to the http://react-component.github.io/slider/examples/marks.html
  2. find the Range with marks or Range with marks and steps sliders
  3. click on any label

Expected:

The slider should be updated, the nearest (or last changed) handler should jump on the above the label.

Result:

The slider is not updated, the handlers are not moved at all.

The problem as I can see is that the value passed from onClickMarkLabel is totally ignored and the bounds are not recalculated, so the onChange handler will be fired with previous bounds.

Activity

  1. pdat commented on Nov 18, 2019

    @pdat

    I just updated from 8.6.1 to 8.7.1 and am now seeing this issue.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions