-
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
Fix tooltip overlaps with the desktop header #38806
Fix tooltip overlaps with the desktop header #38806
Conversation
@dukenv0307 Please 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] |
@bernhardoj I think we can change the name Why Please add the screenshot /video for MacOS: Chrome / Safari. |
@bernhardoj If the tooltip top edge is 32px (20px + GUTTER_WIDTH), I think we can show above since there's no overlap. Wdyt? |
The attached video is still |
I forget to press save
That works, but I don't like to reduce it just because we have GUTTER_WIDTH as they are not related. I think it would make it easier too if in the future someone want to use the desktop height value, for example in popover. |
@bernhardoj Alright, code looks good, can you pls merge main, the perf-tests is failed. Then I can start testing |
Merged with main, looks like it's a flaky test, hopefully the re-run fix it. |
@bernhardoj There's no luck after merging main |
Yeah, we should re-run it. My other PR also has the fail reassure until 2x re-run (by merging main) Merged again. |
@bernhardoj I think we should move |
All tests are passed, just have only one point above ^ |
Done. Everything is passed now, hopefully the latest commit doesn't make it fail again. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / Safariweb-resize.mp4MacOS: Desktopweb-resize.mp4 |
@bernhardoj ESLint is failed, it's just a simple fix |
fixed |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Details
This PR fixes an issue where the tooltip is overlapping the desktop header.
Fixed Issues
$ #38292
PROPOSAL: #38292 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
Web/Desktop
Android/iOS/mWeb
No tooltip
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2024-03-25.at.16.16.02.mov
MacOS: Desktop
Screen.Recording.2024-03-22.at.22.32.55.mov