-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collection view item is getting cut off #70
Comments
Thanks @ssamkough for contributing to this repo by raising this issue! |
I am using version 3.1.1. I will print the values and tell you what I see. In the meantime, here is an example of my project:
|
By the peeking collection view do you mean the collection view, or just the peeking part of it? Because the collection view is the same size as the device (using constraints), but each item has a custom width of 373. This is all configured within a storyboard. |
Hey @ssamkough really sorry I didn't receive a Github notification for your comments 😢 Okay so let's do a little debugging. Can you try to move the whole collection view outside the cell? Like have it directly in the view controller? I'm expecting that having the collection view inside a table view cell will cause the frames not to be calculated properly. If the collection view behaves properly there, then I think you might need to initialize the peeking and everything in the viewDidLayoutSubviews function. This way we're sure that the frame calculations are all done by then |
Hello @MaherKSantina |
@MaherKSantina |
I resolved the issue @ssamkough @MaherKSantina. If the collectionView is inside a tableview it needs: Something similar exists in |
@MaherKSantina |
Hi there!
I'm coming across an issue where my item gets cut off before showing it's full contents. I've attached a video of me using it.
RPReplay_Final1612853381.MP4
The text was updated successfully, but these errors were encountered: