Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.03k stars 2.54k forks source link

Allow double clicking split amount to select text #42233

Closed neil-marcellini closed 2 weeks ago

neil-marcellini commented 2 weeks ago

Details

cc @pecanoro @srikarparsi

Fixed Issues

$ https://github.com/Expensify/App/issues/42207 PROPOSAL: N/A

Tests

  1. Split an expense manually
  2. Enter an amount
  3. Select a couple participants
  4. Double click on the amount input for a participant
  5. Verify that the text is highlighted
  6. Click on the participant row outside the input
  7. Navigate back from the profile page
  8. Verify that the participant row clicked previously is not selected

Offline tests

N/A

QA Steps

Same as tests

PR Author Checklist

Screenshots/Videos

I only tested on Mac Chrome because it's only applicable for Web platforms with a mouse.

Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari https://github.com/Expensify/App/assets/26260477/a3481604-f918-41c3-8984-d5c7214e129b
MacOS: Desktop
melvin-bot[bot] commented 2 weeks ago

@rushatgabhane Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

pecanoro commented 2 weeks ago

@neil-marcellini I saw a contributor put another PR, should we close this one?

neil-marcellini commented 2 weeks ago

Yeah we can close this since the other one went out already. I think the other solution is probably better. I didn't really have time to fully evaluate both, but I guess we'll know if something breaks on staging.