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

bug when added to UITableViewCell and reloadData with same content #55

Open
ccnyou opened this issue Dec 17, 2015 · 3 comments
Open

bug when added to UITableViewCell and reloadData with same content #55

ccnyou opened this issue Dec 17, 2015 · 3 comments

Comments

@ccnyou
Copy link

ccnyou commented Dec 17, 2015

当这个控件被当做一个 UITableViewCell 的subview时候,在 reloadData 时候指定了同一个 text,会出现不再滚动的问题

@cbess
Copy link
Owner

cbess commented Dec 22, 2015

Can you provide an in context code snippet?

@ccnyou
Copy link
Author

ccnyou commented Dec 22, 2015

Sorry, it is noting about "out of screen". I upload a bug demo to my github here:https://github.com/ccnyou/CBAutoScrollLabelBugDemo.
https://github.com/ccnyou/CBAutoScrollLabelBugDemo/blob/master/CBAutoScrollLabelDemo/CBAutoScrollLabelDemo/ViewController.m

when I reload cells of a tableview, and reset auto scroll label's text to a same string value, it will
trigger this bug.

@ccnyou ccnyou changed the title bug when added to scrollview out of screen bug when added to UITableViewCell and reloadData with same content Dec 22, 2015
@pantaopt
Copy link

pantaopt commented Dec 25, 2019

@ccnyou Use 'refreshLabels' method after reloadData, could fix.

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

3 participants