SwipeView
SwipeView copied to clipboard
SwipeViewAlignmentEdge and scroll to the last item issue.
When alignment property is set to SwipeViewAlignmentEdge
and scroll to the last item...
[self.swipeView scrollToItemAtIndex:(data.count-1) duration:0];
The last item is positioned to the left side of swipeView bounds instead to the right. After touch is recognised last item bounces to the right side like it should be in the first place.
Having the exact same issue. @borut-t Did you figure out a solution?
I did't have a time yet to dig into. I'll let you know. But if you do it, let me know.
@Broich I've just committed a bugfix (https://github.com/borut-t/SwipeView/commit/d2c156b88d2ccf9e7256a0442fbe7e430ecb0c67) and send a pull request. I hope some of the project collaborators will review the fix and merge it in new release.