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

Unresponsive Slider when setting trigger to onAfterChange #14119

Open
1 task done
jshailes opened this issue Jan 5, 2019 · 7 comments
Open
1 task done

Unresponsive Slider when setting trigger to onAfterChange #14119

jshailes opened this issue Jan 5, 2019 · 7 comments
Labels

Comments

@jshailes
Copy link

jshailes commented Jan 5, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

setting options.trigger: "onAfterChange" in getFieldDecorator prevents the slider from changing value

What is expected?

The slider changes value in the same way as when options.trigger is not set. In the example that I provided I would expect the onValuesChange to fire once (at onmouseup) when options.trigger=onAfterChange.

What is actually happening?

The use cannot change the value on the slider and onValuesChange is never called.

Environment Info
antd 3.11.6
React 16.2.0
System Xubuntu 18.04
Browser Chrome 70.0.3538.77
@ztplz
Copy link
Contributor

ztplz commented Jan 10, 2019

@jshailes Could you provide the source code of your online demo? It's hard to solve the problem with just a demo.

@jshailes
Copy link
Author

@ztplz sure it's https://codesandbox.io/s/z2ppnop8x

@etokatlian
Copy link

Any word on this? I'm running into the same issue.

@ztplz
Copy link
Contributor

ztplz commented May 23, 2019

Emmm... so sorry, I just forgot this issue. Let me take a look afternoon.

@rubenski050
Copy link

@ztplz any updates on this?

@ztplz
Copy link
Contributor

ztplz commented Jul 12, 2019

@rubenski050 It will be solved in v4.

@rbedemann
Copy link

rbedemann commented Nov 20, 2020

Is there any update on this? We're still facing the same issue on v4.8.4. :(

https://codesandbox.io/s/tender-nobel-3tury

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

7 participants