MaherKSantina / MSPeekCollectionViewDelegateImplementation

A custom paging behavior that peeks the previous and next items in a collection view
https://medium.com/@maher.santina90/how-to-create-cells-that-peek-on-the-sides-like-ios-11-app-store-ef4bb54c0c7d
MIT License
356 stars 32 forks source link

First item in the cell auto scrolling when i set the collection view leading or X by setting -60 to avoid cell peek width. #51

Closed saikishoreagrapalem closed 4 years ago

saikishoreagrapalem commented 4 years ago

When i set the collection view x axis as -60 to avoid cell peek width and first item is auto scrolling after swiping the collection view. How to avoid this issue?

MaherKSantina commented 4 years ago

Hey @saikishoreagrapalem! Thanks for raising this issue! I just want to know how exactly are you setting the x-axis? Can you please show me a small piece of code where you're doing that?

MaherKSantina commented 4 years ago

Hello @saikishoreagrapalem , I just wanted to let you know that I completely re-developed the library, if you want you can try with the new logic and see if it's working as expected. In the meantime I have to close this issue to avoid issues piling up. But feel free to open a new issue if you're facing other problems! Cheers