Closed
Labels
Awaiting PaymentAuto-added when associated PR is deployed to productionAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewHas a PR in reviewWeeklyKSv2KSv2
Description
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: 1.3.90.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: @Sourcecodedeveloper
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1698075798349259
Action Performed:
- Login to https://staging.new.expensify.com/
- Press F12 to open console
- Click on toggle device toolbar
Expected Result:
App is resized to selected device
Actual Result:
The App crashes
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
- Android: Native
- Android: mWeb Chrome
- iOS: Native
- iOS: mWeb Safari
- MacOS: Chrome / Safari
- MacOS: Desktop
Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
web.webm
Recording.5133.mp4
MacOS: Desktop
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~013db618c7bafaf3c8
- Upwork Job ID: 1716860148517441536
- Last Price Increase: 2023-10-24
Metadata
Metadata
Labels
Awaiting PaymentAuto-added when associated PR is deployed to productionAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewHas a PR in reviewWeeklyKSv2KSv2
Activity
[-]Web - App crash on device toolbar toggle[/-][+][$500] Web - App crash on device toolbar toggle[/+]melvin-bot commentedon Oct 24, 2023
Job added to Upwork: https://www.upwork.com/jobs/~013db618c7bafaf3c8
melvin-bot commentedon Oct 24, 2023
Triggered auto assignment to @trjExpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Oct 24, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)melvin-bot commentedon Oct 24, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ArekChr (
External)situchan commentedon Oct 24, 2023
@kacper-mikolajczak is already working on this - #16161 (comment)
cc: @youssef-lr
yh-0218 commentedon Oct 24, 2023
This error comes from
BoundsObserverofBaseTooltipiiredalert commentedon Oct 24, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
When switching device screen size the application crashes at <BoundsObserver .../> in BaseTooltip.js
What is the root cause of that problem?
The _childRef.current in BoundsObserver is set to null due to the rendered element from the BoundsObserver's render() function being destroyed.
What changes do you think we should make in order to solve the problem?
The logic in @react-ng/bounds-observer is fairly straight forward and doesn't change often. We can implement our own equivalent that simply ignores and does nothing if the callback or childref are undefined.
What alternative solutions did you explore? (Optional)
youssef-lr commentedon Oct 25, 2023
cc @kacper-mikolajczak @cubuspl42 , what do you guys think about the proposal above?
33 remaining items
melvin-bot commentedon Oct 31, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.93-1 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 2023-11-07. 🎊
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Oct 31, 2023
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:
youssef-lr commentedon Nov 9, 2023
@ArekChr @kacper-mikolajczak can we complete checklist please?
ArekChr commentedon Nov 13, 2023
I believe we might not require dedicated regression tests for this issue, as it appears that it would be detected during our existing testing processes.
trjExpensify commentedon Nov 13, 2023
Yep, I tend to agree this doesn't need a regression test as a customer isn't likely to be using dev tools in the console.
@Sourcecodedeveloper you need to either provide me with your Upwork account profile or apply to this job for me to pay you the $50 bug bounty.
trjExpensify commentedon Nov 13, 2023
Thanks, sent an offer.
trjExpensify commentedon Nov 13, 2023
Settled, closing!