Skip to content

Commit 959bfa0

Browse files
committed
Dismiss keyboard on scroll
1 parent 29fbd68 commit 959bfa0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WooCommerce/Classes/ViewRelated/Orders/Order Details/Address Edit/EditOrderAddressForm.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ struct EditOrderAddressForm<ViewModel: AddressFormViewModelProtocol>: View {
145145
Spacer(minLength: safeAreaInsets.bottom)
146146
}
147147
.disableAutocorrection(true)
148+
.scrollDismissesKeyboard(.immediately)
148149
.background(Color(.listBackground))
149150
.ignoresSafeArea(.container, edges: [.horizontal, .bottom])
150151
}

0 commit comments

Comments
 (0)