Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Issues with deleting sections/rows in ASTableView #869

@tomizimobile

Description

@tomizimobile

I've created a simple test project that shows the issue: https://github.com/tomizimobile/ASDKSearchIssue

The project is pretty basic - just an ASTableView that shows some randomly generated names, and a search bar to filter the results. Using UIKit, everything works as expected, but using AsyncDisplayKit, a crash occurs when trying to delete sections/rows (using tableView.beginUpdates() + update calls) or reload the data (using tableView.reloadData()) after the data source has been filtered. It appears to be calling - tableView:titleForHeaderInSection: with a section that is out of range for the filtered data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions