Skip to content
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

Reusable cell #51

Open
tomzion90 opened this issue Jan 16, 2021 · 1 comment
Open

Reusable cell #51

tomzion90 opened this issue Jan 16, 2021 · 1 comment

Comments

@tomzion90
Copy link

Hi, I would love using the following library but the is a major issue when selecting a few images and then scrolling up and down the collection.

Some cells are being automatically selected.
I have a filling that setting the cell to selected = false in the prepare for reuse function will solve the issue.

@renssies
Copy link
Contributor

renssies commented Mar 11, 2021

@tomzion90 First, sorry for the extremely late reply. I've been dealing with some personal stuff, including a death in the family so I hope you understand it took this long to respond.

Second, I can't seem to reproduce the issue, could you tell me your TatsiConfig object and on which iOS/Device you have this issue, it might be happening in a specific case.

Putting selected = false in the func prepareForReuse() wouldn't solve the issue and would actually introduce a new issue, because setting the selected state calls the delegate of the UICollectionView, causing the image to be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants