pujiaxin33/JXPagingView

#Bug JXPagerSmoothView 点击切换(非左右滚动切换) 在iOS 13及以下 偏移

Open

#438 opened on Apr 12, 2022

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Objective-C (604 forks)github user discovery
help wanted

Repository metrics

Stars
 (3,044 stars)
PR merge metrics
 (PR metrics pending)

Description

bug提交前阅读 1.请先仔细阅读文档,尤其是【其他注意事项】文档,里面有常见问题的解决方案; 2.请先搜索已有的Issues,尝试找到相同问题的讨论; 3.请先阅读相关类的API、源码,尝试从源码找到答案; 4.如果以上步骤都未能解决你的疑问,欢迎提交ISSUE;

bug描述 使用JXPagerSmoothView然后实现协议- (id)pagerView:(JXPagerSmoothView *)pagerView initListAtIndex:(NSInteger)index 返回的子类控制器,子类控制器有个tableview,当tableview返回行数为0时在iOS 13以下 点击categoryView切换控制器时,整体被偏移,没有悬浮。(demo上也有这个问题)

版本号 1.JXPagingView版本号:2.1.2 2.OC还是Swift版本:OC 3.手机系统版本号:iOS 13及iOS 13以下 4.手机型号:?

复现步骤

  1. 遇到问题的相关效果、类是:SmoothCustomPagerHeaderViewController 、SmoothListViewController 2.具体的操作步骤是:使用滚动延续(PagerHeader列表)类型,修改SmoothListViewController的- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section返回为0,在iOS 13及以下异常。

截图、GIF 提供bug出现时的截图或者GIF。

Contributor guide