woocommerce / woocommerce-ios

WooCommerce iOS app
https://www.woocommerce.com/mobile
GNU General Public License v2.0
298 stars 110 forks source link

[Mobile Payments] - Delay dismissing numeric keyboard after dismissing a simple payment #7491

Open jostnes opened 2 years ago

jostnes commented 2 years ago

Describe the bug When dismissing a simple payment/order using the Cancel button, there is a slight delay before the keyboard is hidden from view but when using the swipe down to dismiss gesture, it is dismissed almost immediately

To Reproduce Steps to reproduce the behavior:

  1. Login with a store with IPP
  2. Go to Menu > Payments
  3. Tap on Collect Payment
  4. On Take Payment screen, tap on Cancel
  5. See that there is a delay before the numeric keyboard is dismissed from view

Screenshots

https://user-images.githubusercontent.com/17252150/184801329-6692a3d7-925e-49b7-9769-43341f4023d7.MP4

Expected behavior There shouldn't be a delay to dismiss the keyboard

Isolating the problem (mark completed items with an [x]):

Mobile Environment Please include:

WordPress Environment

``` Copy and paste the system status report from **WooCommerce > System Status** in WordPress admin. ```
rachelmcr commented 1 year ago

This also came up in https://github.com/woocommerce/woocommerce-ios/pull/8451#issuecomment-1363461274 (PR review for unrelated changes). In that case, the keyboard seemed to get stuck and the entire screen froze, rather than dismissing it.