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

Slider range handler stuck on maximum #1285

Closed
ghost opened this issue Nov 12, 2016 · 2 comments
Closed

Slider range handler stuck on maximum #1285

ghost opened this issue Nov 12, 2016 · 2 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@ghost
Copy link

ghost commented Nov 12, 2016

If you slide both sliders to the maximum values, you can't change the value anymore. I guess the right slider is on top in that case.
Can be replicated in the demo: http://www.primefaces.org/primeng/#/slider

Just slide them both to the right, and you're stuck.

I've fixed it for now with a z-index change:

.ui-slider span:nth-child(2) {
    z-index:1000 !important; // this is the most left slider
}
@ghost
Copy link
Author

ghost commented Nov 12, 2016

Hmm, this is not a proper fix, because when you set both to minimum values, you are then blocked :) This probably would require some scripting? E.g. setting z-index of both handles based on the selected values?

@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Nov 16, 2016
@cagataycivici cagataycivici added this to the 1.0.0-RC5 milestone Nov 16, 2016
@cagataycivici cagataycivici self-assigned this Nov 16, 2016
@cagataycivici cagataycivici changed the title Slider: Can't change values when using range and setting to maximum values Slider range handler stuck on maximum Nov 16, 2016
@aseifert
Copy link

aseifert commented Aug 24, 2020

Hm, as far as I can tell this bug is still occurring (see the official showcase page).

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

No branches or pull requests

2 participants