primeng
primeng copied to clipboard
p-slider: In Range mode, the slider gets stuck if the range min value is equal or superior to the range max value
Describe the bug
In the slider in range mode, if you define a max value different of the default value, when you move the start range control of the slider after the end range control , the slider crashes and display its end range to the infinity.
Environment
Everywhere
Reproducer
https://stackblitz.com/edit/github-b4kumc?file=src/app/app.component.html
Angular version
13.3.8
PrimeNG version
13.4.1
Build / Runtime
TypeScript
Language
TypeScript
Node version (for AoT issues node --version)
14.18.0
Browser(s)
Chrome 103
Steps to reproduce the behavior
- Create a slider in range mode with min = 0, max = 1000 and ngModel = [20, 500]
- Move the start range control after the end range control
Expected behavior
No response
Even if you specify the step input, it behaves buggy
Can confirm the same in our project.
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? Please don't forget to add your feedback as a comment after reopening the issue. These will be taken into account by us and will contribute to the development of this feature. Thanks a lot for your understanding!
Best Regards,
Hi, Thanks for your response. The bug is still present on Prime NG 14.2.1. I open a new issue : #12175. Best regards,