Skip to content

Incorrectly positioning section Headers for sections with no items (headers only) #2

@galiak11

Description

@galiak11

In a collection view similar to the "SwiftNetworkImages" demo, the first section is used for the global section, and the second section, with a floating header, is where items are displayed.
When a fetch returns no data, the header of the 2nd section is displayed at offset 0,0, instead of under the top section. The issues is caused inside boundaryMetrics, which returns (0, 0) for empty sections.

Please see a fix to this issue in a separate fork.

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