Skip to content

The binding doesn't work with swiftUI sheets #495

@tropycool

Description

@tropycool

I’m trying to show a view inside a sheet in SwiftUI, I using a property within the state to show and hide it.
But when using the binding does not work, the change event is sent and not detected by the sheet to be displayed.

Is there any other way to listen to the event? or do binding in another way to work on swiftUI sheets?

Here is the example code:

Captura de pantalla 2024-10-24 a las 13 28 25

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions