Skip to content

weird behaviour in CollectionView adaptation #1

@ahmad-earnin

Description

@ahmad-earnin

Hey Will, found your article while debugging my own project using this approach in a collection view. My conclusion is to refactor this into a tableView but wondering if you ever encountered this weird behaviour before and if there's an easy fix.

Essentially calling performBatchUpdates on the collection view in order to animate some layout change causes the hostedView to disappear from the contentView.

https://github.com/ahmad-earnin/ViewControllerInCell-Example/tree/collectionView

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions