SwipeView icon indicating copy to clipboard operation
SwipeView copied to clipboard

SwipeViewAlignmentEdge and scroll to the last item issue.

Open borut-t opened this issue 10 years ago • 3 comments

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.

borut-t avatar Oct 01 '14 10:10 borut-t

Having the exact same issue. @borut-t Did you figure out a solution?

Broich avatar Nov 20 '14 19:11 Broich

I did't have a time yet to dig into. I'll let you know. But if you do it, let me know.

borut-t avatar Nov 24 '14 06:11 borut-t

@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.

borut-t avatar Dec 22 '14 08:12 borut-t