Skip to content

Commit 54b98ac

Browse files
authored
Merge branch 'trunk' into woomob-1450-crash-in-alamofirenetworkerrorhandler
2 parents c250bbc + f49c71f commit 54b98ac

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

RELEASE-NOTES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
-----
66
- [internal] POS code was moved to its own module, including POS specific color and image assets. [https://github.com/woocommerce/woocommerce-ios/pull/16176]
77
- [*] Fix race condition when flagging sites as unsupported for application passwords [https://github.com/woocommerce/woocommerce-ios/pull/16223]
8+
- [*] Fix Create Coupon screen scrolling issue. [https://github.com/woocommerce/woocommerce-ios/pull/16218]
89

910

1011
23.4

WooCommerce/Classes/ViewRelated/Coupons/Add and Edit Coupons/AddEditCoupon.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ struct AddEditCoupon: View {
285285
}
286286
}
287287
}
288+
.scrollDismissesKeyboard(.immediately)
288289
}
289290
.sheet(isPresented: $showingSelectProducts) {
290291
ProductSelectorNavigationView(configuration: .productsForCoupons,

WooCommerce/Classes/ViewRelated/Coupons/Add and Edit Coupons/UsageDetails/CouponRestrictions.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ struct CouponRestrictions: View {
151151
.padding(.horizontal, insets: geometry.safeAreaInsets)
152152
.frame(maxWidth: .infinity, alignment: .leading)
153153
}
154+
.scrollDismissesKeyboard(.immediately)
154155
.background(Color(.listForeground(modal: false)))
155156
.ignoresSafeArea(.container, edges: [.horizontal])
156157
.sheet(isPresented: $showingExcludeProducts) {

0 commit comments

Comments
 (0)