TLTagsControl
TLTagsControl copied to clipboard
Scrolling Issue.
In sample application , if you scroll the demoTagsControl several time it will get stuck and will stop scrolling anymore.
Please help.
More specifically its happening for TLTagsControl which is set to be TLTagsControlModeList.
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.
@mayqiyue so what is solution ?
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
@nitingohel Can you provide example code?
there is no example just move code of layoutsubviews to reloadTagSubview thats it