Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HOLD for 42143] [$2000] [LOW] IOS - Keypad appears for a moment in details page on saving Private notes #35779

Open
6 tasks
lanitochka17 opened this issue Feb 4, 2024 · 83 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Internal Requires API changes or must be handled by Expensify staff Monthly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Feb 4, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number:
Reproducible in staging?:
Reproducible in production?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:

Action Performed:

Precondition: User has not saved Private notes

  1. Open a workspace #announce room
  2. Tap header link to go details page
  3. Select Private notes
  4. Enter notes & tap on Save button

Expected Result:

Keypad should not appear in details or settings page while saving Private notes

Actual Result:

Keypad appears for a moment in details/settings page while saving Private notes

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6366487_1707016784461.RPReplay_Final1706924534.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01d02b0565c21176af
  • Upwork Job ID: 1754200247556661248
  • Last Price Increase: 2024-03-25
@lanitochka17 lanitochka17 added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Feb 4, 2024
Copy link

melvin-bot bot commented Feb 4, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01d02b0565c21176af

@melvin-bot melvin-bot bot changed the title IOS - Keypad appears for a moment in details page on saving Private notes [$500] IOS - Keypad appears for a moment in details page on saving Private notes Feb 4, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 4, 2024
Copy link

melvin-bot bot commented Feb 4, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @getusha (External)

Copy link

melvin-bot bot commented Feb 4, 2024

Triggered auto assignment to @bfitzexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@lanitochka17
Copy link
Author

We think that this bug might be related to #vip-vsp
CC @quinthar

@mkhutornyi
Copy link
Contributor

mkhutornyi commented Feb 4, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

iOS - Keypad appears for a moment in details page on saving Private notes

What is the root cause of that problem?

ref={(el: AnimatedTextInputRef) => {
if (!el) {
return;
}
privateNotesInput.current = el;
updateMultilineInputRange(privateNotesInput.current);
}}

This happens because ref callback is called every time user inputs value, which triggers updateMultilineInputRange

What changes do you think we should make in order to solve the problem?

As this is supposed to call only once when page is first opened, add more condition in early return here:

     if (!el || privateNotesInput.current) { 
         return; 
     } 

@getusha
Copy link
Contributor

getusha commented Feb 6, 2024

Looks like a very minor issue, @bfitzexpensify i think we can close it, wdyt?

@bfitzexpensify bfitzexpensify changed the title [$500] IOS - Keypad appears for a moment in details page on saving Private notes [$500] [LOW] IOS - Keypad appears for a moment in details page on saving Private notes Feb 6, 2024
@bfitzexpensify
Copy link
Contributor

@getusha Agreed that it's very minor, but assuming there is a clear and easy solution, we should address this. What do you think of @mkhutornyi's proposal?

@getusha
Copy link
Contributor

getusha commented Feb 6, 2024

Thanks! will test @mkhutornyi's proposal.

@getusha
Copy link
Contributor

getusha commented Feb 7, 2024

@mkhutornyi are you able to reproduce this issue?

Screen.Recording.2024-02-07.at.10.54.07.PM.mov

@mkhutornyi
Copy link
Contributor

@getusha yes, still reproducible on latest main

bug.mov

@getusha
Copy link
Contributor

getusha commented Feb 7, 2024

Still not able to repro, what's the your iOS version?

@mkhutornyi
Copy link
Contributor

Still not able to repro, what's the your iOS version?

iOS 16.4
iPhone 14 Plus Simulator

@getusha
Copy link
Contributor

getusha commented Feb 8, 2024

@situchan
Copy link
Contributor

situchan commented Feb 8, 2024

@getusha this is reproducible not only on this page but also other pages which have multiline input

i.e. on room description page:

Screen.Recording.2024-02-08.at.10.19.21.PM.mov

@situchan
Copy link
Contributor

situchan commented Feb 8, 2024

The proposed solution doesn't fix issue completely

@situchan
Copy link
Contributor

situchan commented Feb 8, 2024

Another reproducible case: (swipe left to go back)

This even doesn't require text input change.

Screen.Recording.2024-02-08.at.10.21.44.PM.mov

@situchan
Copy link
Contributor

situchan commented Feb 8, 2024

Please let me know if it's still not reproducible for you. If still, I can take over.

@getusha
Copy link
Contributor

getusha commented Feb 8, 2024

@situchan I missed your comment there! @mananjadhav offered to take over.

I'm still unable to reproduce

Screen.Recording.2024-02-08.at.7.32.38.PM.mov

@mananjadhav
Copy link
Collaborator

I am able to reproduce. Will check the proposal in a while.

@getusha getusha removed their assignment Feb 8, 2024
@melvin-bot melvin-bot bot removed the Overdue label Jul 16, 2024
@melvin-bot melvin-bot bot added the Overdue label Jul 24, 2024
@bfitzexpensify
Copy link
Contributor

Remains held

@melvin-bot melvin-bot bot removed the Overdue label Jul 30, 2024
@melvin-bot melvin-bot bot added the Overdue label Aug 7, 2024
@bfitzexpensify
Copy link
Contributor

Still held

1 similar comment
@bfitzexpensify
Copy link
Contributor

Still held

@melvin-bot melvin-bot bot removed the Overdue label Aug 13, 2024
@bfitzexpensify
Copy link
Contributor

Still held on #42143.

@melvin-bot melvin-bot bot added the Overdue label Aug 28, 2024
@bfitzexpensify
Copy link
Contributor

Still held

@melvin-bot melvin-bot bot removed the Overdue label Aug 30, 2024
@bfitzexpensify
Copy link
Contributor

Still held. Moving this to monthly for the moment

@bfitzexpensify bfitzexpensify added Monthly KSv2 and removed Weekly KSv2 labels Sep 6, 2024
@melvin-bot melvin-bot bot added the Overdue label Oct 7, 2024
@bfitzexpensify
Copy link
Contributor

Remains held

@bfitzexpensify
Copy link
Contributor

Still held

@melvin-bot melvin-bot bot removed the Overdue label Nov 13, 2024
@melvin-bot melvin-bot bot added the Overdue label Dec 16, 2024
@bfitzexpensify
Copy link
Contributor

Still held on #42143.

@melvin-bot melvin-bot bot removed the Overdue label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Internal Requires API changes or must be handled by Expensify staff Monthly KSv2
Projects
Status: Bugs and Follow Up Issues
Development

No branches or pull requests