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

duplicate action sent on dismissal when using bindingAction #61

Open
joprice opened this issue Jan 11, 2024 · 2 comments
Open

duplicate action sent on dismissal when using bindingAction #61

joprice opened this issue Jan 11, 2024 · 2 comments

Comments

@joprice
Copy link

joprice commented Jan 11, 2024

I'm using a coordinator that derives the state for a few screens from the coordinator's state, using a similar pattern to the Form example. The app has a list that allows drilling into detail screens. The detail screen has a binding action controlling a TextField When dismissing a detail screen, I get errors like

A binding action sent from a view store for binding state defined at ... was not handled.

It seems that an extra binding action call is sent, and I'm not sure if this is a bug or the coordinator is intended to account for this. I can extract a minified example if this doesn't sound like a familiar issue.

@johnpatrickmorgan
Copy link
Owner

Thanks @joprice, it's not a familiar issue and I tried to reproduce it but I wasn't able to, so a minimal reproduction would indeed be very helpful if you can. Thanks!

@joprice
Copy link
Author

joprice commented Jan 14, 2024

Ok, I'll create a repro repo. It might take me a few days as I'm in the weeds with some other issues.

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

2 participants