Skip to content

UICollectionViewCell重写preferredLayoutAttributesFitting实现高度自适应,此时打开collectionView.mj_footer,上拉加载数据后,再反向滑动(向下滑)列表,会出现抖动,collectionView.mj_footer不打开则不会 #1600

Open

Description

@sunjianios

描述bug
UICollectionViewCell重写preferredLayoutAttributesFitting实现高度自适应,此时打开collectionView.mj_footer,上拉加载数据后,再反向滑动(向下滑)列表,会出现抖动,collectionView.mj_footer不打开则不会。
MJRefreshAutoFooter、MJRefreshAutoStateFooter、MJRefreshAutoNormalFooter、MJRefreshBackFooter、MJRefreshBackStateFooter、MJRefreshBackNormalFooter试过都不行

必现/偶发?
必现

怎么样重现这个bug

  1. 首页点击进去上来加载之后再反向滑动

运行环境

  • iPhone15pro
  • iOS17.1.1
  • Xcode15.2 (15C500b)

额外的
Demo见附件
mjFooterDemo.zip

Activity

  1. gitph101 commented on Feb 28, 2024

    @gitph101
  2. 309598016 commented on Feb 28, 2024

    @309598016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions