Skip to content

Slider Change Event Not Working Correctly #612

@eblanchette

Description

@eblanchette

Hello, I'm getting a weird issue. Please note I'm new to reactjs. I'm trying to use the Slider component and it's not getting the proper value when I click on the slider (not drag). It's always returning 0 or last known value but when I drag it's ok.

<Slider
    ref="slider"
    name="slider"
    min={0}
    max={100}
    onChange={this.onChangeSlider}/>

onChangeSlider: function(event){
    console.log('changed', this.refs.slider.getValue());
    ...

https://docs.google.com/a/digitalmatrices.com/file/d/0ByrhEzRpMgUrRWprQkRqemFfbUk/edit?usp=drivesdk

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: sliderChanges related to the slider.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions