You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD FOR PAYMENT 9/26] [Search v2.3] - 3-dot menu is always at fixed position instead of right above the saved search #49206
Version Number: 9.0.35-0 Reproducible in staging?: Y Reproducible in production?: N/A - new feature, doesn't exist in prod Issue was found when executing this PR:#48566 Email or phone of affected tester (no customers):applausetester+kh010901@applause.expensifail.com Issue reported by: Applause Internal Team
Action Performed:
Go to staging.new.expensify.com
Go to Search.
Click Filters.
Add a few filters.
Click Save search.
Repeat Step 3 to 5 a few times to create more saved searches until the list is scrollable.
Click 3-dot menu next to the last saved search.
Expected Result:
3-dot menu should be right above the selected saved search.
Actual Result:
3-dot menu is always at the fixed position instead of right above the selected saved search.
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
What changes do you think we should make in order to solve the problem?
We need to get the popover menu position based on its three-dot position by the following steps:
Track the popover menu position: First, we need to determine the position of the popover menu based on the position of the three-dot button in each item. To achieve this, we’ll create a state to store the anchor position and a ref to store references for each three-dot button:
Initialize the ref for each three-dot button: In the code at this line, add the following block to initialize the ref for each three-dot button based on its key:
This ensures that each three-dot button has its own ref stored in threeDotsMenuContainerRef.
Update the rightComponent to use the ref and measure the position: In the code at this line, update the rightComponent block to assign the correct ref and calculate the position of the popover menu when the three-dot button is pressed::
changed the title [-][Search v2.3] - 3-dot menu is always at fixed position instead of right above the saved search[/-][+][HOLD FOR PAYMENT 9/26] [Search v2.3] - 3-dot menu is always at fixed position instead of right above the saved search[/+]on Sep 23, 2024
Activity
melvin-bot commentedon Sep 14, 2024
Triggered auto assignment to @CortneyOfstad (
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.github-actions commentedon Sep 14, 2024
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
melvin-bot commentedon Sep 14, 2024
Triggered auto assignment to @carlosmiceli (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.ChavdaSachin commentedon Sep 14, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
App/src/pages/Search/SearchTypeMenu.tsx
Line 115 in 0c618ac
What changes do you think we should make in order to solve the problem?
App/src/pages/workspace/WorkspacesListRow.tsx
Lines 167 to 171 in 0c618ac
What alternative solutions did you explore? (Optional)
dominictb commentedon Sep 14, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
App/src/pages/Search/SearchTypeMenu.tsx
Line 115 in 0c618ac
leads to this bug.
What changes do you think we should make in order to solve the problem?
We need to get the popover menu position based on its three-dot position by the following steps:
Track the popover menu position: First, we need to determine the position of the popover menu based on the position of the three-dot button in each item. To achieve this, we’ll create a state to store the anchor position and a ref to store references for each three-dot button:
This ensures that each three-dot button has its own ref stored in threeDotsMenuContainerRef.
App/src/pages/Search/SearchTypeMenu.tsx
Line 112 in 0c618ac
to:
What alternative solutions did you explore? (Optional)
11 remaining items
CortneyOfstad commentedon Sep 23, 2024
Issue was deployed production 4 days ago, making the payment date 9/26 — adjusting the title!
[-][Search v2.3] - 3-dot menu is always at fixed position instead of right above the saved search[/-][+][HOLD FOR PAYMENT 9/26] [Search v2.3] - 3-dot menu is always at fixed position instead of right above the saved search[/+]CortneyOfstad commentedon Sep 27, 2024
@dominictb — I sent you a payment offer here, please let me know once you accept and I can get that paid ASAP. Thanks!
dominictb commentedon Sep 30, 2024
@CortneyOfstad Sure, done!
CortneyOfstad commentedon Oct 1, 2024
Payment Summary
@dominictb — paid $250 via Upwork