Closed lvandal closed 3 years ago
The onDismiss() callback can be useful when actions need to be done when the sheet is being dismissed.
Can’t you just use the SwiftUI binding for this? Since bottom sheet requires a binding to a boolean or item you should just be able to monitor that with an onChange modifier.
The onDismiss() callback can be useful when actions need to be done when the sheet is being dismissed.