-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 Xero action modal positioning and display circle icon instead #46127
Conversation
@aimane-chnaif 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] |
Hmm the position of the context menu still feels like it's not correct. Shouldn't it be either left or right aligned to the button below it? |
I think it should be aligned on the right? Because the right arrow-side of the button is what would be spawning this menu. |
Dang, that also seems broken. I agree with Danny that it should be right-aligned to the button. |
I feel like this must be a regression from somewhere personally... I don't recall it ever being like that? |
I agree that we should treat this as a separate bug as the root cause is different. I can work on it if we create a new GH issue for this Its coming from this PR We always assign main button ref to App/src/components/ButtonWithDropdownMenu/index.tsx Lines 75 to 77 in ab4b8ae
So the dropdown will align to the main button instead of this button The solution would be only assign main button ref to |
pushed a new commit for this fix |
Are we ready for a review from @aimane-chnaif? |
This is ready for review |
Reviewer Checklist
Screenshots/VideosAndroid: mWeb ChromeiOS: Nativeios.moviOS: mWeb SafariMacOS: Chrome / Safariweb.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/arosiclair in version: 9.0.15-0 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.0.15-9 🚀
|
Details
Fixed Issues
$ #45607
PROPOSAL: #45607 (comment)
Tests
Precondition:
Offline tests
QA Steps
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
MacOS: Desktop