Fix tooltip wrong height and recalculate tooltip size when locale changes#20340
Conversation
|
@amyevans @mananjadhav 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] |
Reviewer Checklist
Screenshots/VideosWebWeb Chrome Web Safari Web Firefox web-firefox-tooltip-fixes_BKOb7fvD.mp4Web Edge Mobile Web - ChromeNA Mobile Web - SafariNA Desktopdesktop-tooltip-fixes.moviOSNA AndroidNA |
|
Thanks for the patience on this one @bernhardoj. @amyevans I've tried to cover as much ground as possible for the QA of this issue. Please check at your end once. |
|
@mananjadhav thank you too. Sorry for raising multiple regressions 🙇. |
|
@amyevans Can you please take a look at this PR? |
amyevans
left a comment
There was a problem hiding this comment.
I tested a fair amount in Chrome and Safari. Looks good! 👍
|
@mananjadhav any further concerns or shall I merge? |
|
Oh also just to mention, I merged |
|
Sorry I just saw these notifications. I think we are good to merge. Did one basic test with the latest main merge. Thanks @amyevans. 🤞 |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/amyevans in version: 1.3.31-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.31-3 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.31-3 🚀
|
Details
This PR will use the tooltip wrapper height as the tooltip height and add locale to tooltip body key.
Fixed Issues
$ #19842
$ #20302
$ #17555
PROPOSAL: GH_LINK_ISSUE(COMMENT)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
Web/Desktop only
Wrong height issue
Locale issue
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Web
Chromium
Screen.Recording.2023-06-07.at.15.40.49.mov
Safari
Screen.Recording.2023-06-07.at.15.50.01.mov
Firefox
Screen.Recording.2023-06-07.at.15.51.02.mov
Mobile Web - Chrome
Mobile Web - Safari
Desktop
Screen.Recording.2023-06-07.at.15.42.58.mov
iOS
Android