-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
p-slider: Slider issue with onSlideEnd event and range selection #9013
Comments
I also have the problem for Issue 1 with Angular 7.2.16 and primeng 7.0.1 Browser all, Node 8.9.1 |
Hi, So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you reopen the issue so we can include it in our roadmap? Best Regards, |
@mertsincan I can't reopen issue from my side |
I changed my Slider component to ngx-slider until you fix this: When dragging several onChange + one onSlideEnd + one final onChange, But when clicking one onChange event with no onSlideEnd event. |
Fix #9013 - p-slider: Slider issue with onSlideEnd event
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
https://stackblitz.com/edit/github-xcnx2n
Current behavior
Expected behavior
Minimal reproduction of the problem with instructions
Issue 1:
Issue 2:
What is the motivation / use case for changing the behavior?
We need to trigger http call when slider value changed. Currently we are using onSlideEnd to know when slider value updated. We can't even use onChange event as it will trigger continuously while dragging. Even with debounce we can't use onChange event because if user holds while dragging then it will trigger. So ideally there should be one event to know when slider value updated.
Have a range slider filter based on query params. If user passes same values [min, min] then slider is broken and can't slide anymore
Please tell us about your environment:
Angular version: 5.X
Angular 9.1.11
PrimeNG version: 5.X
9.1.0
Browser: [all]
all
Language: [all]
all
Node (for AoT issues):
node --version
=12.1.0
The text was updated successfully, but these errors were encountered: