We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95d64f0 commit 9cc93e7Copy full SHA for 9cc93e7
SwiftUI-Days/Screens/Detail/EditItemScreen.swift
@@ -55,8 +55,11 @@ struct EditItemScreen: View {
55
.navigationBarTitleDisplayMode(.inline)
56
.toolbar {
57
ToolbarItem(placement: .topBarLeading) {
58
- Button(backButtonTitle, action: closeAction)
59
- .accessibilityIdentifier(backButtonAccessibilityIdentifier)
+ Button(backButtonTitle) {
+ isFirstFieldFocused = false
60
+ closeAction()
61
+ }
62
+ .accessibilityIdentifier(backButtonAccessibilityIdentifier)
63
}
64
ToolbarItem(placement: .topBarTrailing) {
65
Button("Save") {
0 commit comments