-
Notifications
You must be signed in to change notification settings - Fork 3k
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] The main composer in the request report page is focused when closing the three dot menu #30178
Comments
Triggered auto assignment to @abekkala ( |
Job added to Upwork: https://www.upwork.com/jobs/~016b32eafb37ff001e |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ntdiary ( |
ProblemThe main composer in the request report page is focused when closing the three dot menu in request details while not in report details Root CauseBased on Modal(popover visibility) we refocus the composer but in MoneyReport Header we are setting the modal visibility key. (default true unless marked false explictly https://github.com/Expensify/App/blob/1a7a5dc80c84c5ef9ad3c0dd003369d7b011eaed/src/components/ThreeDotsMenu/index.js) But in HeaderView we are not setting the modal visibility so the composer do not refocus. ChangesWe should introduce a new prop for // src/components/MoneyReportHeader.js
<HeaderWithBackButton
// rest of props
shouldSetModalVisibilityForThreeDotMenu={false}
> // src/components/HeaderWithBackButton/index.js
<ThreeDotsMenu
menuItems={threeDotsMenuItems}
onIconPress={onThreeDotsButtonPress}
anchorPosition={threeDotsAnchorPosition}
shouldOverlay={shouldOverlay}
shouldSetModalVisibility={shouldSetModalVisibilityForThreeDotMenu}
/> |
To be honest, I don't think continuing to patch the existing refocus logic is a promising approach. We are doing the upgrade to RNW 0.19, after which I will try to improve the POC in issue #24452 and clean up these related codes. So I think we just need to track this case under issue #15992 for now. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
on hold - this gh has been referenced in the tracking issue |
melvin, not overdue. |
not overdue, on hold |
still on hold |
still on hold |
#15992 is still on hold |
still on hold |
still on hold |
@kbecciv can you recreate this and provide an updated video? |
Not reproduced on build 1.4.38.0 Screen_Recording_20240207_144059_Chrome.mp4 |
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: 1.3.88.1
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: @daveSeife
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1697902847726839
Action Performed:
Expected Result:
The main composer in the request report page is unfocused
Actual Result:
The main composer in the request report page is focused
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android: mWeb Chrome
XRecorder_20102023_185845.mp4
iOS: Native
iOS: mWeb Safari
T164iossafari.Focus-1.mp4
MacOS: Chrome / Safari
MacOS: Desktop
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: