-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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-10-14] [HOLD for payment 2024-10-11] RHP across the app cannot be closed by ESC key #50156
Comments
Triggered auto assignment to @CortneyOfstad ( |
Triggered auto assignment to @arosiclair ( |
👋 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:
|
Same as #49869 ProposalPlease re-state the problem that we are trying to solve in this issue.Can't close RHP using ESC key. What is the root cause of that problem?The ESC shortcut is overridden by the SearchRouter shortcut here. App/src/components/Search/SearchRouter/SearchRouter.tsx Lines 62 to 65 in 71db3f1
The SearchRouter is added to the AuthScreens which is available app wide.
Because of that, the shortcut here to close RHP doesn't work anymore. App/src/libs/Navigation/AppNavigator/AuthScreens.tsx Lines 308 to 320 in 71db3f1
This somehow happens after #49457. Before that, the SearchRouter shortcut is subscribed first, followed by the AuthScreen shortcut. The reason the SearchRouter shortcut still works is that we enable bubbling in the AuthScreen shortcut. So, the root cause of the issue has been existed for several weeks. What changes do you think we should make in order to solve the problem?In SearchRouter, only enable the shortcut when visible. App/src/components/Search/SearchRouter/SearchRouter.tsx Lines 62 to 65 in 71db3f1
However, I noticed that we only clear the query when closing the modal using ESC, but the query state stays if we close it by simply clicking outside the modal. To solve this, instead of clearing the query inside the shortcut, we can clear it when the modal closes.
|
This is fixed in #50143 |
I reproduced on staging v9.0.44-0 and not on prod v9.0.43-6 |
@arosiclair I think @luacmartins is going to request CP for #50143 as it also fixes another blocker |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
Yea, I requested the CP |
CP is running |
Fixed in v9.0.44-2 Screen.Recording.2024-10-03.at.12.57.13.PM.mov |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.44-12 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-10-11. 🎊 |
This comment was marked as off-topic.
This comment was marked as off-topic.
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.45-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-10-14. 🎊 |
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
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: 9.0.44-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
RHP can be closed by ESC key.
Actual Result:
RHP cannot be closed by ESC key.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6623232_1727962471229.esc.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @CortneyOfstadThe text was updated successfully, but these errors were encountered: