TomThorpe / TTRangeSlider

A slider, similar in style to UISlider, but which allows you to pick a minimum and maximum range.
MIT License
968 stars 203 forks source link

When 'minDistance' isn't set, TTRangeSlider redraw bug #33

Open armadanilo opened 8 years ago

armadanilo commented 8 years ago

This happens when minDistance isn't set and an alert controller is presented/dismissed within the view controller.

screen shot 2016-05-03 at 3 16 18 pm

I have 5 UITableViewCells, each having a TTRangeSlider inside of it within scope; some have a min/max range on the control and some don't. This happens to all of the range sliders within each cell when we present a UIAlertController and the user dismisses it (presses OK).

I prevented this by forcing the 'minDistance' property, with a default value of zero for the controls that we do not use to enforce but curious if anyone has experienced this issue themselves?

chefnobody commented 8 years ago

I'm having this issue as well.

edopelawi commented 8 years ago

I tried to fix this on pull request #39. Kindly take a look if it fixes your issue :)