You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TextField("", text: $text)
.transition(.identity) // workaround thanks to @iampatbrown
So it seems the crash is related to animation. It seems FB8367784 - a crash with optional Binding and Toggle was reported before and fixed. Hopefully it can be fixed for TextField too, and all the other controls that take bindings.
Xcode Version 16.2 (16C5032a)
iOS simulator 18.2
The text was updated successfully, but these errors were encountered:
This code with optional Binding and TextField crashes:
This workaround thanks to @iampatbrown prevents the crash:
So it seems the crash is related to animation. It seems FB8367784 - a crash with optional Binding and Toggle was reported before and fixed. Hopefully it can be fixed for TextField too, and all the other controls that take bindings.
Xcode Version 16.2 (16C5032a)
iOS simulator 18.2
The text was updated successfully, but these errors were encountered: