Skip to main content

Bug Tracker

Side navigation

#1691 closed enhancement (wontfix)

Opened September 20, 2007 09:00AM UTC

Closed February 21, 2008 02:22PM UTC

Last modified March 15, 2012 07:44PM UTC

slider handles cover slider handles on the left

Reported by: reh Owned by: paul
Priority: major Milestone: 1.2.2
Component: ui 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 (6)

Changed September 27, 2007 09:15AM UTC by reh comment:1

I have added a option to set the hotspot of the handles (see slider-demo.zip)

Changed September 28, 2007 11:09PM UTC by uprocka comment:2

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 October 08, 2007 12:57PM UTC by reh comment:3

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

Changed October 08, 2007 01:00PM UTC by reh comment:4

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

Changed November 19, 2007 01:59PM UTC by paul comment:5

owner: → paul
status: newassigned

Changed February 21, 2008 02:22PM UTC by paul comment:6

resolution: → wontfix
status: assignedclosed

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.