#1691 closed enhancement (wontfix)
slider handles cover slider handles on the left
Reported by: | reh | Owned by: | paul |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ui.core | Version: | 1.2.1 |
Keywords: | slider | Cc: | |
Blocked by: | Blocking: |
Description
I ran into a problem with the sliders (see slider demo page - 3. Multiple handles):
When I drag the left handle over the right handle I cannot move then left handle any more. The mouse grabs the right handle - which cannot be moved any further to the right to uncover the left handle.
This behaviour occurs because the hotspot of a handle is set to the center of the handle and if the hotspots of two handles meet, the right handle covers the left handle. I would like to set the hotspot for every handle separately. This would also allow using different background images for the left and right handle.
Attachments (1)
Change History (8)
comment:1 Changed 15 years ago by
comment:2 follow-up: 4 Changed 15 years ago by
thats a nice enhancement.
My idea was to give the lastly touched handle a higher z-index than the other sliders?
wouldn't this fix it?
Changed 15 years ago by
Attachment: | slider-demo.zip added |
---|
comment:3 Changed 15 years ago by
I have extended ui.slider.js in the following ways:
- hotspots for handles
- moveTo() for multiple handles, startValues option
- sliderReconfigure(), allows to change minValue, maxValue and stepping of a slider
this code is mainly untested and will probably break existing code
comment:4 Changed 15 years ago by
My idea was to give the lastly touched handle a higher z-index than the other sliders?
wouldn't this fix it?
modifying the z-Index would also be nice but would not solve my problem
comment:5 Changed 15 years ago by
Owner: | set to paul |
---|---|
Status: | new → assigned |
comment:6 Changed 15 years ago by
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
This won't be fixed because resolving it would cause a lot of other issues. Please change the zIndex yourself if you want to prevent that issue. Thanks.
I have added a option to set the hotspot of the handles (see slider-demo.zip)