-
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
Return to createPortal to properly recalculate tooltipTextWidth #14171
Conversation
@thesahindia @deetergp One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick fix. I'm going to take over the C+ checklist in order to speed up the NewDot deploy.
Reviewer Checklist
Screenshots/VideosWeb Desktop Other All other platforms do not show the hover tooltip |
Manually Cherry-picking, as I forgot to add the label 🤦 |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Return to createPortal to properly recalculate tooltipTextWidth (cherry picked from commit ba61986)
…g-14171 🍒 Cherry pick PR #14171 to staging 🍒
Success. |
Performance Comparison Report 📊Significant Changes To DurationThere are no entries Meaningless Changes To DurationShow entries
Show details
|
🚀 Deployed to production by @Julesssss in version: 1.2.51-1 🚀
|
🚀 Cherry-picked to staging by @Julesssss in version: 1.2.51-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀
|
Details
<Portal>
has at least a 1 render delay, causing the recalculations for tool tip width to fail. This reverts that change back to acreatePortal
to solve the issue. The switch was made here https://github.com/Expensify/App/pull/12168/files#diff-8ddd0f734fe2c1d30cad34482aa6bd982defac075f3e33fdd0de81976066d324R121Fixed Issues
$ #14149
PROPOSAL: https://expensify.slack.com/archives/C01GTK53T8Q/p1673312891811939?thread_ts=1673312306.906289&cid=C01GTK53T8Q
Tests
Offline tests
Same as tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.Screenshots/Videos
Web
2023-01-09_17-25-39.mp4
Mobile Web - Chrome
N/a doesnt support tooltips
Mobile Web - Safari
N/a doesnt support tooltips
Desktop
2023-01-09_17-28-26.mp4
iOS
N/a doesnt support tooltips
Android
N/a doesnt support tooltips