Skip to content

Commit e4b16c1

Browse files
authored
Fix: Customer Details Screen Not Scrollable After Selecting Country (#16289)
2 parents 15b0c32 + 228281c commit e4b16c1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,12 @@ struct SingleAddressForm: View {
428428
.padding(.horizontal, insets: safeAreaInsets)
429429
.background(Color(.systemBackground))
430430
.addingTopAndBottomDividers()
431+
.onChange(of: showStateSelector) {
432+
UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
433+
}
434+
.onChange(of: showCountrySelector) {
435+
UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
436+
}
431437
}
432438
}
433439

0 commit comments

Comments
 (0)