Delegate function not being updated if swiped/scrolled to quickly.
xbsjason opened this issue · comments
Hello and thanks for the great work you've done on the project. I'm facing an issue where the delegate method is not being called when the selected index is changed via a swipe. I'm monitoring via the following delegate method segmentedControl(_ segmentedControl: SJFluidSegmentedControl, didChangeFromSegmentAtIndex fromIndex: Int, toSegmentAtIndex toIndex:Int)
and it appears that if the user scrolls quickly to a new segment index this is not called as the toIndex
is not updated.
Is there another delegate function I should be monitoring for this or is it unexpected behavior? I really like the project here and will be using it in my app if I can resolve this.
Thanks for taking the time to read/respond.