Yalantis / Koloda

KolodaView is a class designed to simplify the implementation of Tinder like cards on iOS.
https://yalantis.com
MIT License
5.37k stars 806 forks source link

Cell size for collection view is not accurate after 3rd Card . #450

Open gurpalrajput opened 4 years ago

gurpalrajput commented 4 years ago

Report

The more information you provide, the faster we can help you.

⚠️ Select what you want - a feature request or report a bug. Please remove the section you aren't interested in.

A feature request

What do you want to add?

Please describe what you want to add to the component.

How should it look like?

Please add images.

Report a bug

What did you do?

Please replace this with what you did.

What did you expect to happen?

Please replace this with what you expected to happen.

What happened instead?

Please replace this with what happened instead.

Your Environment

Project that demonstrates the bug

Please add a link to a project we can download that reproduces the bug. I have a collection view inside my UIView xib and collection view cell size is according to collection view size so cell can take full size of collection view., I am have 40 cards from a api call and append all those cards in array.. and when all cards are visible then first 3 cards size of collection view is perfectly fine but right after third card all of the collection view cell size reduced, I am not figuring out why this happens

vuralcelik commented 3 years ago

same issue

ProjectMagick commented 2 years ago

@GurpalRajput where did you assign the delegate and datasource of kolodaview? I mean did you assign it to view controller or collectionview cell?