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
When we added support for vanilla SwiftUI modifiers, we lost the ability
to present one alert after another because `nil` writes to the alert
bindings unconditionally dismissed the feature, even if the feature was
freshly presented.
This fixes things by suppressing dismissal when the identity of a
presented item has changed.
Fix#3272.
Description
the alert which is inside of
.incrementButtonTapped
didn't work as expected inAlert
mode butConfirmationDialog
was workingChecklist
main
branch of this package.Expected behavior
The first alert
Alert!
should be dismissed and then showing the second alertIncremented!
Actual behavior
the first alert
Alert!
was dismissed but second alertIncremented!
didn't pop outSteps to reproduce
CasesStudies
example SwiftUI appAlerts and Confirmation Dialogs
Alert
Increment
onAlert!
AlertThe second alert should be shown but it didn't
The Composable Architecture version information
1.12.1
Destination operating system
iOS 17.5
Xcode version information
Version 15.4 (15F31d)
Swift Compiler version information
The text was updated successfully, but these errors were encountered: