status-mobile icon indicating copy to clipboard operation
status-mobile copied to clipboard

[Wallet - Send to] "Paste" and "Scan" buttons instead of "Remove" button when focus is in the input field

Open qoqobolo opened this issue 1 year ago • 1 comments

Bug Report

Problem

If you set focus in the input field, then when the cursor appears, the Paste and Scan buttons will appear there. If you delete at least one character the button will change to x (Remove). This behavior seems incorrect. Probably the desired result would be for the Paste and Scan buttons to change to x as soon as you place the cursor into the field so you can clear the field with one tap.

Actual behavior

https://github.com/status-im/status-mobile/assets/67952253/e60ac2d5-879f-4768-a4f8-19b5ef0ca12b

Expected behavior

Unfortunately, I couldn't find a design for this particular case, so attaching the closest one. Let me know if designers' opinions are needed here

https://www.figma.com/design/HKncH4wnDwZDAhc4AryK8Y/Wallet-for-Mobile?node-id=689-192881&m=dev

Screenshot 2024-05-14 at 14 43 41 Screenshot 2024-05-14 at 14 44 05

Reproduction

  1. Go to the Send flow
  2. Enter/paste some text into the Send to field
  3. Tap an empty space on the screen to remove the cursor
  4. Tap the field again to set the cursor

Additional Information

  • Status version: nightly 14/05
  • Operating System: Android, iOS

qoqobolo avatar May 14 '24 12:05 qoqobolo

fixed in this PR https://github.com/status-im/status-mobile/pull/20005

OmarBasem avatar May 17 '24 07:05 OmarBasem