veader / V8HorizontalPickerView

Horizontal UIPickerView Control for iOS
zlib License
233 stars 44 forks source link

Don't send didSelectElementAtIndex delegate callback when index is equal to previous index #21

Closed rounak closed 10 years ago

rounak commented 10 years ago

Can the picker not send delegate callbacks if the previous selected value is the same as the current selected value. This happens when I scroll the picker very lightly, and it returns to its original position.

marckaraujo commented 10 years ago

Yes, it is a problem, I´m trying to solve this atm

veader commented 10 years ago

Not sure we want to remove this behavior from the picker. You can pretty easily keep track of the last selected index in your delegate and choose to do nothing when you get the callback.