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

[$500] iOS - Chat - The screen flashes when I tap on "Delete comment" #33312

Closed
4 of 6 tasks
lanitochka17 opened this issue Dec 19, 2023 · 26 comments
Closed
4 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Dec 19, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


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

Action Performed:

  1. Navigate to https://staging.new.expensify.com/
  2. Make a workspace
  3. Go offline
  4. Write any text in the #announce room
  5. Delete any text

Expected Result:

There shouldn't be any flashing

Actual Result:

The screen flashes when I tap on "Delete comment". The keyboard appears for a very short time and disappears

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

Bug6320203_1703015335397.OTQS8996.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01766b41eca1f7098c
  • Upwork Job ID: 1737217847599263744
  • Last Price Increase: 2024-02-21
@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 Dec 19, 2023
Copy link

melvin-bot bot commented Dec 19, 2023

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

@melvin-bot melvin-bot bot changed the title iOS - Chat - The screen flashes when I tap on "Delete comment" [$500] iOS - Chat - The screen flashes when I tap on "Delete comment" Dec 19, 2023
Copy link

melvin-bot bot commented Dec 19, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01766b41eca1f7098c

Copy link

melvin-bot bot commented Dec 19, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Dec 19, 2023
Copy link

melvin-bot bot commented Dec 19, 2023

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

@neonbhai
Copy link
Contributor

neonbhai commented Dec 19, 2023

Proposal

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

iOS - Chat - The screen flashes when tapping on "Delete comment"

What is the root cause of that problem?

We refocus the Composer and open keyboard when Modals or Popovers are closed:

// We want to focus or refocus the input when a modal has been closed or the underlying screen is refocused.
// We avoid doing this on native platforms since the software keyboard popping
// open creates a jarring and broken UX.
if (!((willBlurTextInputOnTapOutside || shouldAutoFocus) && !isNextModalWillOpenRef.current && !modal.isVisible && isFocused && (prevIsModalVisible || !prevIsFocused))) {
return;
}

But here a Popover closes and another Modal opens. This triggers a quick Keyboard focus-dismiss action.

The app currently still has the jarring experience on mweb as there the keyboard stills pops up a lot.

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

The software keyboard popping up creates a jarring experience on mobile web also.

We should modify willBlurTextInputOnTapOutside to only be true when we don't have a touch screen (so no software keyboards)

willBlurTextInputOnTapOutside = !DeviceCapabilities.canUseTouchScreen()

This will keep it false for touch screen devices.

@mananjadhav
Copy link
Collaborator

I think this should probably get resolved with #32970

@CortneyOfstad CortneyOfstad changed the title [$500] iOS - Chat - The screen flashes when I tap on "Delete comment" [Hold for #32970] [$500] iOS - Chat - The screen flashes when I tap on "Delete comment" Dec 21, 2023
@CortneyOfstad CortneyOfstad added Weekly KSv2 and removed Daily KSv2 Help Wanted Apply this label when an issue is open to proposals by contributors labels Dec 21, 2023
@melvin-bot melvin-bot bot added the Overdue label Jan 1, 2024
@CortneyOfstad
Copy link
Contributor

Not overdue

@melvin-bot melvin-bot bot removed the Overdue label Jan 2, 2024
@mananjadhav
Copy link
Collaborator

mananjadhav commented Jan 10, 2024

The linked PR didn't fix this and we're open for proposals here. I'll review the existing proposals by tomorrow.

@melvin-bot melvin-bot bot added the Overdue label Jan 18, 2024
@CortneyOfstad
Copy link
Contributor

@mananjadhav any updates?

@melvin-bot melvin-bot bot removed the Overdue label Jan 22, 2024
@mananjadhav
Copy link
Collaborator

Open for proposals.

Copy link

melvin-bot bot commented Jan 31, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@CortneyOfstad CortneyOfstad added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jan 31, 2024
@CortneyOfstad
Copy link
Contributor

^^^ can ignore that as the linked PR was not successful.

Added help wanted to get some proposals rolling

@CortneyOfstad
Copy link
Contributor

@lanitochka17 can we confirm the issue is still happening? I just want to double check since this issue has been open for a while 👍

@lanitochka17
Copy link
Author

Issue is still reproducible on the latest build 1.4.38-0

MOYN7370.MP4

@CortneyOfstad
Copy link
Contributor

Thank you @lanitochka17!

@CortneyOfstad CortneyOfstad changed the title [Hold for #32970] [$500] iOS - Chat - The screen flashes when I tap on "Delete comment" [$500] iOS - Chat - The screen flashes when I tap on "Delete comment" Feb 14, 2024
Copy link

melvin-bot bot commented Feb 14, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@CortneyOfstad
Copy link
Contributor

This falls under VIP-VSB and still can see the flashing despite the latest app upgrade. So strange, so getting eyes on this!

@CortneyOfstad CortneyOfstad added Hot Pick Ready for an engineer to pick up and run with External Added to denote the issue can be worked on by a contributor and removed External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Hot Pick Ready for an engineer to pick up and run with labels Feb 15, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 15, 2024
Copy link

melvin-bot bot commented Feb 15, 2024

Current assignee @mananjadhav is eligible for the External assigner, not assigning anyone new.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Feb 15, 2024
@CortneyOfstad CortneyOfstad added Weekly KSv2 and removed Daily KSv2 labels Feb 15, 2024
@CortneyOfstad
Copy link
Contributor

^^^ not sure what the heck happened, but I changed one tag and everything went insane 🙃

Copy link

melvin-bot bot commented Feb 21, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@CortneyOfstad
Copy link
Contributor

Reached out to Callstack here

@rezkiy37
Copy link
Contributor

Hi, I’m Michael (Mykhailo) from Callstack and I would like to work on this issue.

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 23, 2024
@quinthar
Copy link
Contributor

I'm not sure I understand the issue -- I watched the video, but can you clarify what you mean by "flash"? I don't see a problem.

@rezkiy37
Copy link
Contributor

I agree with a comment above. I tried to reproduce the bug on a real IOS device, simulator and Android emulator. I haven't seen any flashes. I attach a couple videos.

Videos

IOS.mp4
IOS.Safari.mp4

@mvtglobally
Copy link

Issue not reproducible during KI retests. (First week)

@CortneyOfstad
Copy link
Contributor

Not able to recreate on my side either so going to close this 👍

Thanks for the additional testing @mvtglobally and @rezkiy37!

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. External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
No open projects
Status: CRITICAL
Development

No branches or pull requests

7 participants