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

CollectionViewCell中间歇性的连续点击会出现动画错乱 #130

Closed
shmilyQin opened this issue Feb 23, 2022 · 1 comment
Closed
Assignees

Comments

@shmilyQin
Copy link

Bug 描述

CollectionViewCell中间歇性的连续点击会出现动画错乱

问题

请告诉我们你遇到了什么问题。预期是什么?实际表现是什么?
CollectionViewCell中间歇性的连续点击会出现动画错乱,预期是只有当前点击的cell有动画,实际表现其他cell也会有动画

重现

间歇性的连续点击cell触发动画

请说明重现步骤。加载的是什么文件,你的代码是怎么写的,等等。
PAG 素材可以在压缩之后,随这个 Bug 上传。

环境

libpag 版本:libpag-ios(v3.2.7.40)
设备:iPhone 12mini(iOS 14.4)

Demo(可选)

请给一个 Demo 项目,我们可以运行并重现这个问题。
PagDemo.zip

其他(可选)

如果还有其他信息可以帮助我们定位问题,请添加其他内容。

@kevingpqi123
Copy link
Collaborator

这里和pag没有关系,你阅读下UICollectionView的API文档,reloadData会触发所有cell的刷新,如果需要更新特定cell的数据,使用reloadItemsAtIndexPaths

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