Skip to content

Commit af1e24b

Browse files
committed
Explicitly make amount text field lose keyboard focus
1 parent ea87d95 commit af1e24b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

WooCommerce/Classes/ViewRelated/Orders/Order Creation/PaymentSection/ShippingLineDetails.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ struct ShippingLineDetails: View {
5252
symbol: nil,
5353
keyboardType: .default)
5454
.accessibilityIdentifier("add-shipping-name-field")
55+
.onTapGesture {
56+
focusAmountInput = false
57+
}
5558
}
5659
.padding(.horizontal, insets: safeAreaInsets)
5760
.addingTopAndBottomDividers()

0 commit comments

Comments
 (0)