-
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
[HOLD for payment 2024-09-21][$250] [Search v2.1] - Dropdown Menu Misalignment After Page Minimize and Maximize #46532
Comments
Triggered auto assignment to @sonialiap ( |
@sonialiap FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
Unable to reproduce it on the latest main. Screen.Recording.2024-08-02.at.7.57.08.AM.mov |
Edited by proposal-police: This proposal was edited at 2024-08-13 03:17:25 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.The position of dropdown menu isn't updated after resize the screen What is the root cause of that problem?We calculate App/src/components/ButtonWithDropdownMenu/index.tsx Lines 60 to 70 in 5005f59
When What changes do you think we should make in order to solve the problem?We handled this bug before in some other places: App/src/components/AvatarWithImagePicker.tsx Line 421 in 420c2a1
Lines 3620 to 3624 in 420c2a1
In the above places, we are using another way to adjust the popover's position. We adjust the position of the popover relying on
popoverButtonDropdownMenuOffset: (windowWidth: number) =>
({
...getPopOverVerticalOffset(70),
horizontal: windowWidth - 20,
} satisfies AnchorPosition),
anchorPosition={shouldUseStyleUtilityForAnchorPosition ? styles.popoverButtonDropdownMenuOffset(windowWidth) : popoverAnchorPosition}
What alternative solutions did you explore? (Optional)We can pass this new style from |
true |
Job added to Upwork: https://www.upwork.com/jobs/~01697c80b209631150 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @situchan ( |
@sonialiap, @situchan Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@situchan what do you think of the proposal #46532 (comment) ? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Awaiting more proposals |
There is no impact on my proposal, I mention ThreeDotsMenu because this bug also occurs in ThreeDotsMenu. |
@daledah thanks. can you please share test branch? |
@sonialiap @situchan 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! |
@situchan Sorry for the delay. Here's the test branch: https://github.com/daledah/App/tree/fix/46532 |
@situchan any update here with your review? |
The PR is on hold for #48511 - #47987 (comment) |
#48862 is merged |
@sonialiap you can have this one back too! 😛 |
Payment summary
|
waiting for @daledah to accept the offer in upwork 💰 |
@sonialiap Done that thanks |
All paid ✔️ |
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: 9.0.14-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): abebemiherat@gmail.com
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
When an expense is selected in search, minimized, and the chevron is clicked to open the dropdown, maximizing the page should align the dropdown with the chevron
Actual Result:
When an expense is selected in search, minimized, and the chevron is clicked to open the dropdown, maximizing the page causes the dropdown to appear in the middle instead of aligning with the chevron
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6557251_1722340339427.Screen_Recording_2024-07-30_at_4.29.53_AM.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @sonialiapThe text was updated successfully, but these errors were encountered: