-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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-06-28] [HOLD for payment 2024-06-28] App crashes when Ctrl/Cmd + D is pressed #43897
Comments
Triggered auto assignment to @dangrous ( |
Triggered auto assignment to @greg-schroeder ( |
👋 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:
|
@greg-schroeder 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 |
This is definitely going to be front end, removing Deploy Blocker label But it's also not consistently reproducible - for example I just tried it on staging and it crashed the first time, but not after that. Haven't managed to trigger it on local yet. (That's not saying it's not a bug, it definitely is, but finding the cause will be slightly more challenging) |
And it's definitely (by default) related to #43543 since that created the shortcut |
I think it's maybe not the shortcut but something to do with opening the separate modal for the options instead of going to the troubleshoot page. There's nothing in the console, weirdly. Also after clicking "Refresh" the modal DOES show up, but the slider doesn't work. Again, nothing in the console. |
@dangrous I haven't been able to pinpoint the root cause, but what I saw in the log ![]() |
oh huh, i wonder why that isn't showing up for me! I've pinged the folks that worked on the focus trap, hopefully they have some ideas! |
OMG I had my console filtered and I didn't realize. I see the error now, hopefully that will help me diagnose. |
Okay! So. I know why it doesn't happen on dev - it's because of App/src/components/TestToolsModal.tsx Line 47 in c64c55f
Technically I think this is a regression, as it could have been discovered during testing of #43543, though it is unlikely since it's because of a dev only feature that it works fine. Not sure about official responsibility here but will keep trying to figure it out - all other opinions welcome! |
Another update, I found this online:
I think it's because the modal is animating in and so there's nothing focusable - it seems like that first option makes the most sense but I'm not sure how to implement... And I don't really know why having or not having the |
FYI @jnowakow is looking into fixing this one 🙏 - slack thread |
Yeah, I've found the root cause - it's described here. Focus trap is created before the elements are mounted in dom and this causes the error. The solution is to add |
Merged & CPing PR |
Removing deploy blocker b/c this was fixed in staging! I think we can close too, but i'll let @dangrous do that haha |
Okay great! Thanks for the assist @Beamanator. Closing now. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.85-7 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-06-28. 🎊 |
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:
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.0-9 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-06-28. 🎊 |
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 contributors@expensify.com to request to join our Slack channel!
issue found when validating #43543
Version Number: 1.4.85-0
Reproducible in staging?: y
Reproducible in production?: n
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: applause internal team
Slack conversation:
Action Performed:
Expected Result:
Pressing Ctrl/Cmd + D should not cause the app to crash instead it should open the troubleshooting model
Actual Result:
The app crashes when pressing Ctrl/Cmd + D
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6516839_1718697002915.Screen_Recording_2024-06-18_at_12.27.46_AM.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @greg-schroederThe text was updated successfully, but these errors were encountered: