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

[BUG] Range slider cannot be set to [min, min] #2104

Closed
skyanth opened this issue Feb 3, 2022 · 2 comments
Closed

[BUG] Range slider cannot be set to [min, min] #2104

skyanth opened this issue Feb 3, 2022 · 2 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@skyanth
Copy link

skyanth commented Feb 3, 2022

I'm submitting a ... (check one with "x")

[X] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primevue/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=110

Current behavior
When trying to set both ends of the range slider to the minimum value, the right handle jumps to the max position. The slider value actually is [min, min] at this point, but unless the value is displayed somewhere this is not at all clear.

Expected behavior
Have both handles on the min position, with the right handle draggable on top

Minimal reproduction of the problem with instructions
See the slider component page: https://primefaces.org/primevue/showcase/#/slider

What is the motivation / use case for changing the behavior?
Slider is unusable in situations where the value isn't displayed, as its appearance does not correspond to its inner state

Please tell us about your environment:
MacOS

  • Vue version: 3.0.0
  • PrimeVue version: 3.11.1 (now also 3.12.0)
  • Browser: [all ]
@tugcekucukoglu tugcekucukoglu added the Status: Pending Review Issue or pull request is being reviewed by Core Team label Feb 9, 2022
@tugcekucukoglu
Copy link
Member

https://codesandbox.io/s/min-slider-h5whc?file=/src/main.js

Could you modify the example to see the issue? I could not replicate it?

@skyanth
Copy link
Author

skyanth commented Feb 15, 2022 via email

@skyanth skyanth changed the title Range slider cannot be set to [min, min] [BUG] Range slider cannot be set to [min, min] Mar 2, 2022
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Pending Review Issue or pull request is being reviewed by Core Team labels Mar 14, 2022
@tugcekucukoglu tugcekucukoglu added this to the 3.12.7 milestone May 31, 2022
@tugcekucukoglu tugcekucukoglu self-assigned this May 31, 2022
tugcekucukoglu added a commit that referenced this issue May 31, 2022
Fixed #2104 - [BUG] Range slider cannot be set to [min, min]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants