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

[$250] Mac/Safari - Expenses - When hovering over the actionable whisper option, the wrong option is highlighted #54520

Open
1 of 8 tasks
IuliiaHerets opened this issue Dec 24, 2024 · 31 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Dec 24, 2024

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: v9.0.78-1
Reproducible in staging?: Yes
Reproducible in production?: No
Issue reported by: Applause Internal Team
Device used: Mac 14.6.1/Safari
App Component: Money Requests

Action Performed:

1.Navigate to https://staging.new.expensify.com
2.Navigate to the Self DM
3. Track a manual expense
4. Hover over the actionable whisper options

Expected Result:

The correct option is highlighted

Actual Result:

When hovering over the actionable whisper option of a track expense, the wrong option is highlighted or the field isn't highlighted at all.
Issue happens only Safari browser.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6701663_1735020194710.Recording__286.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021871611845625259597
  • Upwork Job ID: 1871611845625259597
  • Last Price Increase: 2025-01-07
Issue OwnerCurrent Issue Owner: @rinej
Issue OwnerCurrent Issue Owner: @rinej
@IuliiaHerets IuliiaHerets added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. DeployBlocker Indicates it should block deploying the API labels Dec 24, 2024
Copy link

melvin-bot bot commented Dec 24, 2024

Triggered auto assignment to @Christinadobrzyn (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@Christinadobrzyn
Copy link
Contributor

Christinadobrzyn commented Dec 24, 2024

I just added more to the OP - it looks like either the entire field of whispers is highlighted or the fields aren't selected.

2024-12-24_10-37-12.mp4

@Christinadobrzyn Christinadobrzyn added the External Added to denote the issue can be worked on by a contributor label Dec 24, 2024
@Christinadobrzyn
Copy link
Contributor

I think this can be external

@melvin-bot melvin-bot bot changed the title Mac/Safari - Expenses - When hovering over the actionable whisper option, the wrong option is highlighted [$250] Mac/Safari - Expenses - When hovering over the actionable whisper option, the wrong option is highlighted Dec 24, 2024
Copy link

melvin-bot bot commented Dec 24, 2024

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

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

melvin-bot bot commented Dec 24, 2024

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

@techievivek techievivek removed the DeployBlocker Indicates it should block deploying the API label Dec 26, 2024
@techievivek
Copy link
Contributor

Removing the DeployBlocker label since this is already sent to external.

@melvin-bot melvin-bot bot added the Overdue label Dec 28, 2024
@Christinadobrzyn
Copy link
Contributor

waiting on proposals

@melvin-bot melvin-bot bot removed the Overdue label Dec 28, 2024
@rdipippo
Copy link

rdipippo commented Dec 29, 2024 via email

@Christinadobrzyn
Copy link
Contributor

Testing again, this does seem to be resolved. Asking QA to test again -https://expensify.slack.com/archives/C9YU7BX5M/p1735597477414199

@kavimuru
Copy link

Still reproducible

Recording.319.mp4

@jayeshmangwani
Copy link
Contributor

I can also reproduce this issue on Safari.

hover-bug.mov

Copy link

melvin-bot bot commented Dec 31, 2024

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

@melvin-bot melvin-bot bot added the Overdue label Jan 2, 2025
@Christinadobrzyn
Copy link
Contributor

Christinadobrzyn commented Jan 2, 2025

Ah okay thanks for testing. I updated the OP indicating this is only happening in Safari. We're waiting for proposals

Copy link

melvin-bot bot commented Jan 6, 2025

@jayeshmangwani, @Christinadobrzyn Whoops! This issue is 2 days overdue. Let's get this updated quick!

@jayeshmangwani
Copy link
Contributor

Waiting on proposals!

@melvin-bot melvin-bot bot removed the Overdue label Jan 6, 2025
@Christinadobrzyn
Copy link
Contributor

Christinadobrzyn commented Jan 6, 2025

Checking to see if SWM might be able to take this. https://expensify.slack.com/archives/C04878MDF34/p1736201512710459

Copy link

melvin-bot bot commented Jan 7, 2025

@jayeshmangwani @Christinadobrzyn this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

Copy link

melvin-bot bot commented Jan 7, 2025

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

@Christinadobrzyn
Copy link
Contributor

I'll ping again for someone at SWM to grab this in the am.

@Christinadobrzyn
Copy link
Contributor

Christinadobrzyn commented Jan 8, 2025

SWM is at full capacity. I'll reach out in the in open source to see if someone would have the bandwidth to provide a proposal. https://expensify.slack.com/archives/C01GTK53T8Q/p1736352060338919

@rinej
Copy link
Contributor

rinej commented Jan 8, 2025

Hello, I am Tomek from callstack, I would like to work on that issue :)

@Christinadobrzyn
Copy link
Contributor

Oh amazing! Thank you @rinej! I'll add you!

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Jan 8, 2025
@rinej
Copy link
Contributor

rinej commented Jan 9, 2025

I was able to reproduce it on dev environment, working on the fix :)

@mvtglobally
Copy link

Issue not reproducible during KI retests. (First week)

@melvin-bot melvin-bot bot added the Overdue label Jan 12, 2025
Copy link

melvin-bot bot commented Jan 13, 2025

@rinej, @jayeshmangwani, @Christinadobrzyn Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@jayeshmangwani
Copy link
Contributor

Issue not reproducible during KI retests. (First week)

Issue is reproducible for me on latest version, and @rinej is working on the fix

@Christinadobrzyn
Copy link
Contributor

@rinej can you provide an update when you have a moment? TY!

Copy link

melvin-bot bot commented Jan 15, 2025

@rinej, @jayeshmangwani, @Christinadobrzyn Huh... This is 4 days overdue. Who can take care of this?

@rinej
Copy link
Contributor

rinej commented Jan 15, 2025

Sure!
It’s very likely that some event handlers in ActiveHoverable.tsx behave differently on Safari browsers.
Also, I suspect that references to the hoverable elements are not updating correctly on Safari. I’m currently verifying both of these issues.

@rinej
Copy link
Contributor

rinej commented Jan 16, 2025

Here is the for solving the issue:

Problem
When hovering over the actionable "Whisper" option of a track expense, the wrong option is highlighted, or the field does not get highlighted at all. This issue occurs only in the Safari browser.

Solution
This behaviour may be related to how Safari handles certain events, particularly in scenarios with nested hoverable components.
To address this issue in Safari, the component should be refreshed after rendering. It ensures that all references are properly updated. This fix will be applied conditionally for Safari only, as the existing logic functions correctly in all other browsers.

BEFORE:

Bug.mp4

AFTER:

Fixed.mp4

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Jan 16, 2025
@rinej
Copy link
Contributor

rinej commented Jan 16, 2025

Here is the PR with the proposed changes -> #55350

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 Reviewing Has a PR in review Weekly KSv2
Projects
Status: No status
Development

No branches or pull requests

8 participants