App icon indicating copy to clipboard operation
App copied to clipboard

[HOLD for payment 2021-11-22] Mini action menu doesn't disappear when opening and closing an attachment preview - Reported by: @Santhosh-Sellavel

Open isagoico opened this issue 5 years ago • 24 comments

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


Action Performed:

  1. Navigate to a conversation
  2. Send an image
  3. Open the image preview
  4. Click on the top right X to close the modal
  5. Hover the cursor over other message (that's not the one with the attachment)

Expected Result:

There's only 1 mini action menu displayed over the message that's being hovered on.

Actual Result:

There's 2 mini action menus displayed, one over the attachment message and one over the hovered message

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: 1.1.8-0

Reproducible in staging?: Yes Reproducible in production?: Yes

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

image

https://user-images.githubusercontent.com/44479856/138297239-cc50d752-774d-4099-bc8e-f25f14d749eb.mov

Expensify/Expensify Issue URL:

Issue reported by: @Santhosh-Sellavel Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1634732025490800

View all open jobs on GitHub

isagoico avatar Oct 21 '21 14:10 isagoico

Triggered auto assignment to @TomatoToaster (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

MelvinBot avatar Oct 21 '21 14:10 MelvinBot

Ah interesting. I want to work on this for a little bit and see if I can find a solution. If I can't find it quickly I'll put this into the upwork pool.

TomatoToaster avatar Oct 21 '21 14:10 TomatoToaster

Triggered auto assignment to @puneetlath (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

MelvinBot avatar Oct 21 '21 15:10 MelvinBot

Ok let's make this external, dropping it in the pool.

TomatoToaster avatar Oct 21 '21 16:10 TomatoToaster

@TomatoToaster @bfitzexpensify

Proposal

According my research, the problem is that the AttachmentModal tricks a bit the <Hoverable resetsOnClickOutside={false}> at ReportActionItem.js, keeping the hovered prop as true after it loses the focus.

Changing resetsOnClickOutside={false}> to resetsOnClickOutside (true) seems to fix the issue.

sidferreira avatar Oct 21 '21 23:10 sidferreira

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

MelvinBot avatar Oct 26 '21 00:10 MelvinBot

Triggered auto assignment to @pecanoro (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

MelvinBot avatar Oct 26 '21 12:10 MelvinBot

Upwork posting

bfitzexpensify avatar Oct 26 '21 12:10 bfitzexpensify

Force unmount mini menu when you open the pop up (if you are not able to track mini menu)

cristianciorchina avatar Oct 26 '21 18:10 cristianciorchina

@sidferreira I think your proposal should fix the issue, go ahead!

pecanoro avatar Oct 26 '21 20:10 pecanoro

Maybe you will assign me on upwork for this task and I will fix it? :)

On Tue, 26 Oct 2021 at 23:45, Rocio Perez @.***> wrote:

@sidferreira https://github.com/sidferreira I think your proposal should fix the issue, go ahead!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Expensify/App/issues/5972#issuecomment-952311660, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG45V7DCXG3LISDDRJ2LG3TUI4HQFANCNFSM5GOIVSSQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

cristianciorchina avatar Oct 26 '21 21:10 cristianciorchina

@pecanoro When will the upwork contract be made?

sidferreira avatar Oct 26 '21 21:10 sidferreira

@sidferreira Ben (@bfitzexpensify) should be in charge of that, he will send it as soon as he gets online.

pecanoro avatar Oct 26 '21 22:10 pecanoro

Great, thanks!

On Wed, 27 Oct 2021 at 01:13, Rocio Perez @.***> wrote:

@sidferreira https://github.com/sidferreira Ben @.*** https://github.com/bfitzexpensify) should be in charge of that, he will send it as soon as he gets online.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Expensify/App/issues/5972#issuecomment-952367545, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG45V7FER4V5PNSIGCCPC43UI4RYRANCNFSM5GOIVSSQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

cristianciorchina avatar Oct 26 '21 22:10 cristianciorchina

@sidferreira sent the hiring offer

bfitzexpensify avatar Oct 27 '21 14:10 bfitzexpensify

Didn’t get anything, please check one more time

On Wed, 27 Oct 2021 at 17:16, Ben Fitzpatrick @.***> wrote:

@sidferreira https://github.com/sidferreira sent the hiring offer

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Expensify/App/issues/5972#issuecomment-952976047, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG45V7BB2LS2ABVSU2SDNMDUJACTLANCNFSM5GOIVSSQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

cristianciorchina avatar Oct 27 '21 14:10 cristianciorchina

My profile https://www.upwork.com/freelancers/~01acc5fa6eac8b103a

În mie., 27 oct. 2021 la 17:41, cristian ciorchina < @.***> a scris:

Didn’t get anything, please check one more time

On Wed, 27 Oct 2021 at 17:16, Ben Fitzpatrick @.***> wrote:

@sidferreira https://github.com/sidferreira sent the hiring offer

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Expensify/App/issues/5972#issuecomment-952976047, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG45V7BB2LS2ABVSU2SDNMDUJACTLANCNFSM5GOIVSSQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

cristianciorchina avatar Oct 27 '21 14:10 cristianciorchina

Hi @cristianciorchina — we're hiring @sidferreira for this job, see https://github.com/Expensify/App/issues/5972#issuecomment-952311660.

bfitzexpensify avatar Oct 27 '21 15:10 bfitzexpensify

I will be reviewing the PR and I will let you know @pecanoro when this is ready for final review and possibly for merge. See More

parasharrajat avatar Oct 29 '21 02:10 parasharrajat

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.1.14-4 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

  • https://github.com/Expensify/App/pull/6083

If no regressions arise, payment will be issued on 2021-11-22. :confetti_ball:

botify avatar Nov 15 '21 22:11 botify