[HOLD for payment 2021-11-22] Mini action menu doesn't disappear when opening and closing an attachment preview - Reported by: @Santhosh-Sellavel
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:
- Navigate to a conversation
- Send an image
- Open the image preview
- Click on the top right X to close the modal
- 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

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
Triggered auto assignment to @TomatoToaster (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.
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.
Triggered auto assignment to @puneetlath (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.
Ok let's make this external, dropping it in the pool.
@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.
Triggered auto assignment to @bfitzexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.
Triggered auto assignment to @pecanoro (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.
Upwork posting
Force unmount mini menu when you open the pop up (if you are not able to track mini menu)
@sidferreira I think your proposal should fix the issue, go ahead!
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.
@pecanoro When will the upwork contract be made?
@sidferreira Ben (@bfitzexpensify) should be in charge of that, he will send it as soon as he gets online.
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.
@sidferreira sent the hiring offer
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.
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.
Hi @cristianciorchina — we're hiring @sidferreira for this job, see https://github.com/Expensify/App/issues/5972#issuecomment-952311660.
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
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: