warchimede / RangeSlider

A simple range slider made in Swift
MIT License
366 stars 78 forks source link

"Dead" slider circles & overlap deadlock #1

Open francisjervis opened 9 years ago

francisjervis commented 9 years ago

I am encountering an issue where the outline circles for the controls persist in the original slider position and/or other spots. See image attached.

When the lower slider is at the 0 position and the upper slider is then dragged on top of it, the slider is "locked" – gestures seem to be picked up by the lower slider. In my use case the best way to resolve this would be to specify a minimum gap between the sliders relative to the total length (eg. 0.042 apart to make the minimum time slot 1 hour).

Thanks for all your work!

ios simulator screen shot jan 13 2015 1 33 06 pm

warchimede commented 9 years ago

Thanks a lot for your feedback, I'm gonna have a look at that :)

francisjervis commented 9 years ago

great! let me know if you’d like to take a look at my code (tho i think i saw this in the example project when i built it too).

i’m using it to build the schedule entry view for a task-sharing platform, TimesFree (beta.timesfree.co http://beta.timesfree.co/) - let me know if you want to link to it as an example!

best francis

On Jan 14, 2015, at 4:44 AM, William Archimede notifications@github.com wrote:

Thanks a lot for your feedback, I'm gonna have a look at that :)

— Reply to this email directly or view it on GitHub https://github.com/sgwilly/RangeSlider/issues/1#issuecomment-69891639.

warchimede commented 9 years ago

Hi Francis,

I made some changes to avoid thumbs overlapping. I can't reproduce the "dead" thumbs, so please tell me if the problem persists.

Cheers :) :100:

francisjervis commented 9 years ago

Thanks! I maybe want to make the circles smaller, is there a param for that?

If you can't reproduce the dead circles it might be because I am drawing from the tableviewcell's subclass (probably not recommended I know).

swatirout commented 7 years ago

Hi,I am also facing this same issue when lower thumb is at 0 and the upper thumb is overlapping it and i m unable to move any one thumb out of these two.please help,thanks!!

wdcurry commented 5 years ago

I have noted (late into the game here) that if you touch on the outer far edge of the seemingly top overlap, that circle will take the gesture.