Repository navigation
Fix: apply style utility for unstable anchorPosition - #42370
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] |
dannymcclain
left a comment
There was a problem hiding this comment.
Design-wise I think this is looking/working well. I can't think of any other places this pops up, but if someone else can, give a shout! Definitely still get a legit technical review from an engineer 😊
|
@shawnborton I think perfectly centered makes sense. I did some measuring, and it looks like they're maybe off by 1px? I'm wondering if the scrollbar in your first screenshot is throwing off the visual alignment. (Side note: looks like these menus are using an incorrect border radius 😑) |
|
If they are off by just 1px, than I bet the border width is is what's throwing things off? Good catch on the border radius too, maybe we can create a follow up issue to fix that? |
|
I also think we should do centered under the avatar as long as it doesn't go less than |
|
@dragnoir So sorry, but could you explain more about the root cause that you mentioned in your proposal
Why measureInWindow failed in this case? |
|
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2024-05-23.at.17.15.06.movMacOS: DesktopScreen.Recording.2024-05-23.at.17.16.52.mov |
Yeah I think we can create a follow up issue for that. Small css tweak so should probably be priced lower than a standard issue I think. |
blimpich
left a comment
There was a problem hiding this comment.
One nitpick, otherwise looks good
|
@dragnoir Please address above comment |
|
@dannymcclain would you mind making a follow up issue for the centering bug? |
|
✋ 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/puneetlath in version: 1.4.77-0 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.77-11 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.77-11 🚀
|









Details
This PR fixes the issue of floating dropdown menu position, of the group avatar, when resizing the browser.
Fixed Issues
$ #40944
PROPOSAL: #40944 (comment)
Tests
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
NA
Android: mWeb Chrome
NA
iOS: Native
NA
iOS: mWeb Safari
NA
MacOS: Chrome / Safari
20240520_140550.mp4
MacOS: Desktop
NA