fix the "New Messages" badge is displayed out of screen borders#60194
Conversation
|
@DylanDylann 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] |
| lastReportAction={lastReportAction} | ||
| /> | ||
| ) : null} | ||
| <View style={[styles.overflowHidden, styles.flex1]}> |
There was a problem hiding this comment.
@SzymczakJ As your fix, the RCA is the badge displayed in the wrong position, but I wonder why it appears in this case
There was a problem hiding this comment.
Yes, it's possible to get into state, when "New message" button shows up. One way to do that would be to create a report with one transaction and then write under it from another account. Then the new messages pop up and the first account gets "new messages" button
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2025-04-16.at.15.07.17.movAndroid: mWeb ChromeScreen.Recording.2025-04-16.at.15.09.42.moviOS: NativeScreen.Recording.2025-04-16.at.15.10.07.moviOS: mWeb SafariScreen.Recording.2025-04-16.at.15.10.37.movMacOS: Chrome / SafariMacOS: Desktop |
|
✋ 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/mollfpr in version: 9.1.29-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.1.29-10 🚀
|
Explanation of Change
This PR fixes New message pill showing out of screen borders, by adding overflow hidden to one of the components of MoneyRequestReportView.
Fixed Issues
$ #60086
PROPOSAL:
Tests
Offline tests
QA Steps
Same as tests.
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
and.mov
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop