Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The binding doesn't work with swiftUI sheets #495

Open
tropycool opened this issue Oct 24, 2024 · 0 comments
Open

The binding doesn't work with swiftUI sheets #495

tropycool opened this issue Oct 24, 2024 · 0 comments

Comments

@tropycool
Copy link

tropycool commented Oct 24, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant