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

Scrolling Issue. #13

Open
munibsiddiqui opened this issue Nov 16, 2015 · 6 comments
Open

Scrolling Issue. #13

munibsiddiqui opened this issue Nov 16, 2015 · 6 comments

Comments

@munibsiddiqui
Copy link

In sample application , if you scroll the demoTagsControl several time it will get stuck and will stop scrolling anymore.

Please help.

@munibsiddiqui
Copy link
Author

More specifically its happening for TLTagsControl which is set to be TLTagsControlModeList.

@mayqiyue
Copy link

Because author layout the subviews in method - (void)layoutSubviews, it needs some time to calculate frames. And when UIScrollView scroll, - (void)layoutSubviews is called constantly. So get stuck.

@ancheng1114
Copy link

@mayqiyue so what is solution ?

@nitingohel
Copy link

I just use that TLTagsControl which is set to be TLTagsControlModeList and get issue on scrolling that i found code for setup scrollview contain size in layoutSubviews which is called each time on scroll and i dont think its need to place code in that method so i just move code of layoutSubviews to reloadTagSubviews at bottom and its working good

@alizainprasla
Copy link

@nitingohel Can you provide example code?

@nitingohel
Copy link

there is no example just move code of layoutsubviews to reloadTagSubview thats it

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

5 participants