Skip to content

Crash when attempting to perform a layout with a zero frame size #26

@jbmorley

Description

@jbmorley

I've been seeing a crash in Bookmarks on macOS when attempting to perform a layout pass and the frame is zero. Definitely a result of a behavior change in the latest incarnation of SwiftUI. It's currently unclear to me if this is an actual SwiftUI bug, or an issue in the layout logic / custom constraints resolution in SelectableCollectionView. Either way, ideally SelectableCollectionView should be robust to this kind of issue though and we should add a test case for this and guard against it if possible.

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