fix Xero action modal positioning and display circle icon instead#46127
fix Xero action modal positioning and display circle icon instead#46127arosiclair merged 9 commits intoExpensify:mainfrom
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 Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop