-
Notifications
You must be signed in to change notification settings - Fork 3.2k
fix the "New Messages" badge is displayed out of screen borders #60194
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 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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
and.mov
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop