Tooltip is cut off when the workspace chat is partially visible - #59655
Conversation
|
@eVoloshchak 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] |
| const navigator = useContext(NavigationContext); | ||
| const insets = useSafeAreaInsets(); | ||
|
|
||
| const isNative = getPlatform() === CONST.PLATFORM.IOS || getPlatform() === CONST.PLATFORM.ANDROID; |
There was a problem hiding this comment.
https://github.com/expensify/app?tab=readme-ov-file#platform-specific-file-extensions
Let's use platform-specific files instead of calling getPlatform()
And could you please also add comments explaining why we use different methods on web/native?
There was a problem hiding this comment.
@eVoloshchak I think we can use Dimensions.get('window') for all platforms. I've tried testing it on native, and it works fine. Initially, I used different methods to avoid regression, but as I explained here, Dimensions.get('window') will still work well on native. Please help to check the PR again. Thanks.
|
@thelullabyy, could you pull the latest |
|
@eVoloshchak Updated |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2025-04-13.at.22.58.36.movAndroid: mWeb ChromeScreen.Recording.2025-04-13.at.23.05.46.moviOS: NativeScreen.Recording.2025-04-13.at.23.00.13.moviOS: mWeb SafariScreen.Recording.2025-04-13.at.23.03.58.movMacOS: Chrome / SafariScreen.Recording.2025-04-13.at.22.41.31.movMacOS: DesktopScreen.Recording.2025-04-13.at.23.07.25.mov |
|
✋ 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/robertjchen in version: 9.1.28-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.1.28-15 🚀
|
Explanation of Change
Fixed Issues
$#58132
PROPOSAL:#58132 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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
Android: Native
Screen.Recording.2025-04-04.at.17.01.15.mov
Android: mWeb Chrome
android_chorme.mov
iOS: Native
ios_native.mov
iOS: mWeb Safari
ios_safari.mov
MacOS: Chrome / Safari
chorme.mp4
MacOS: Desktop
desktop.mp4