We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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描述 辛苦大佬, 帮看一下是什么问题. 设置contentEdgeInsetLeft后reloadData, CategoryView定位偏移, contentOffset计算不准确, 如果contentEdgeInsetLeft = JXCategoryViewAutomaticDimension再reloadData就没问题.
版本号 1.6.1
复现步骤 在TitleViewController中修改代码如下
(void)viewDidLoad { [super viewDidLoad]; self.myCategoryView.contentEdgeInsetLeft = 40; self.myCategoryView.contentEdgeInsetRight = 40;
self.myCategoryView.titles = self.titles;
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(4 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ [self.myCategoryView reloadData]; }); } 在reloadData前, 点击定位一个item是居中的, reloadData后就向右偏移了
截图、GIF
The text was updated successfully, but these errors were encountered:
No branches or pull requests
bug描述
辛苦大佬, 帮看一下是什么问题.
设置contentEdgeInsetLeft后reloadData, CategoryView定位偏移, contentOffset计算不准确, 如果contentEdgeInsetLeft = JXCategoryViewAutomaticDimension再reloadData就没问题.
版本号
1.6.1
复现步骤
在TitleViewController中修改代码如下
(void)viewDidLoad {
[super viewDidLoad];
self.myCategoryView.contentEdgeInsetLeft = 40;
self.myCategoryView.contentEdgeInsetRight = 40;
self.myCategoryView.titles = self.titles;
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(4 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[self.myCategoryView reloadData];
});
}
在reloadData前, 点击定位一个item是居中的, reloadData后就向右偏移了
截图、GIF
The text was updated successfully, but these errors were encountered: