Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep "pushable" between states/values #159

Closed
monsieurnebo opened this issue Oct 7, 2016 · 5 comments
Closed

Keep "pushable" between states/values #159

monsieurnebo opened this issue Oct 7, 2016 · 5 comments
Assignees
Labels

Comments

@monsieurnebo
Copy link

Hi,

I'm storing the slider value in a redux state in the goal of keeping an history (you can switch between previous values by going back in your browser).

It seems that we can't keep the pushable props between two states using a different value.

If I don't specify any value in the Slider, the pushable props still work. If you set the value props (to update the display at each state), the pushable props stop working.

Any idea to fix this ?

@benjycui
Copy link
Member

@SosZ could you review this issue?

@patrickdevivo
Copy link

+1 I'm seeing similar issue, pushable prop only seems to work when value is not set

@it4anna
Copy link

it4anna commented Nov 28, 2016

The same affect on allowCross={false} :(

@benjycui benjycui self-assigned this Nov 29, 2016
@dannypk
Copy link

dannypk commented Jan 11, 2017

Would be nice to have an overlapping = false or something, so when you have 2 values, they cannot be the same. I am trying to make a workaround, but seems that the values array mixes the values[0] with values[1] when they "overlap", since pushable is not working

@paranoidjk
Copy link
Member

close since dulplicate, please trace #347

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants