Open IuliiaHerets opened 2 months ago
Triggered auto assignment to @johncschuster (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
Triggered auto assignment to @stitesExpensify (DeployBlockerCash
), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.
:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
📣 @c0ffincolors! 📣 Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork. Please follow these steps:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>
The above comment asking you to download a file is malware to steal your account; do not under any circumstances download or run it. The post needs to be removed. If you have attempted to run it please have your system cleaned and your account secured immediately.
📣 @caineblood! 📣 Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork. Please follow these steps:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>
Job added to Upwork: https://www.upwork.com/jobs/~01f2e4be2af4f4a7d5
Triggered auto assignment to Contributor-plus team member for initial proposal review - @situchan (External
)
Edited by proposal-police: This proposal was edited at 2024-09-03 10:12:54 UTC.
Spacing below emoji picker when opening emoji picker while keyboard is up
In the code
https://github.com/Expensify/App/blob/4fe86eb6baf6d71aa8757b2362a788d20ee42109/src/components/Modal/BaseModal.tsx#L44
the props statusBarTranslucent
is default to true. However, react native modal is buggy to calculate the height of modal with statusBarTranslucent=true
see the GH issue here: https://github.com/facebook/react-native/issues/35804
In the EmojiPicker.tsx
just add statusBarTranslucent=false
https://github.com/Expensify/App/blob/4fe86eb6baf6d71aa8757b2362a788d20ee42109/src/components/EmojiPicker/EmojiPicker.tsx#L222
Just attached the screen record after this change:
NA
@johncschuster, @stitesExpensify, @situchan Eep! 4 days overdue now. Issues have feelings too...
@jp928 thanks for the proposal. I think the solution is workaround. We should fix the root cause. This is recent regression (maybe from RN upgrade). There has been no issue without dismissing keyboard.
@situchan Thanks for reviewing, I just updated my proposal. Cheers.
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
@jp928 thanks. I agree that the root cause is related to status bar. But can't we fix it without making status bar non-translucent? Emoji picker should be same as all other modals regarding status bar translucency.
@situchan Thank for reply. Would you like to find a workaround with package-patch or a PR to upstream react-native repo?
PR to upstream react-native repo
Sounds good to me if it's RN bug really
@johncschuster, @stitesExpensify, @situchan Huh... This is 4 days overdue. Who can take care of this?
@situchan, is there an existing PR out there to fix this RN bug, or are you just suggesting that that's where this needs to be fixed?
is there an existing PR out there to fix this RN bug
No
are you just suggesting that that's where this needs to be fixed?
yes if the root cause is in upstream
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
@johncschuster @stitesExpensify @situchan this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
@johncschuster, @stitesExpensify, @situchan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
Not overdue
@situchan what is the current situation that makes this not overdue? Do we have a solution?
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
We're still waiting for proposals. Can someone from expert contributor group volunteer?
@johncschuster, @stitesExpensify, @situchan Huh... This is 4 days overdue. Who can take care of this?
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
@johncschuster @stitesExpensify @situchan this issue is now 4 weeks old, please consider:
Thanks!
Looking for proposals in Slack
A similar upstream issue https://github.com/facebook/react-native/pull/27526 was resolved before, but the fix was recently reverted to address https://github.com/facebook/react-native/issues/45880.
@fabOnReact Could you share some context when you have a chance? Since you are the author of the original fix.
@johncschuster, @stitesExpensify, @situchan Huh... This is 4 days overdue. Who can take care of this?
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
Bumped @fabOnReact in Slack
Bumped in Slack, here
Still looking for proposals
The emoji picker doesn’t position at the bottom of the screen if opened while the soft keyboard is up.
A similar upstream issue https://github.com/facebook/react-native/issues/27526 was resolved in https://github.com/facebook/react-native/pull/29292 before.
But the fix was recently reverted in https://github.com/facebook/react-native/pull/45928 to address https://github.com/facebook/react-native/issues/45880.
mLastHeight
includes the translucent status bar height, while mVisibleViewArea.height()
does not.
Patch node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactRootView.java
by replacing lines 894 and 943 with
// Use mLastHeight to account for the translucent status bar and
// fall back to mVisibleViewArea.height() if mLastHeight hasn't been measured yet.
PixelUtil.toDIPFromPixel(mWasMeasured ? mLastHeight : mVisibleViewArea.height()),
N/A
@QichenZhu thanks for the proposal. Can we fix this in upstream?
@situchan Yeah, we’d better fix this in upstream. But some issues like https://github.com/Expensify/App/issues/23889#issuecomment-1763452349 and https://github.com/Expensify/App/issues/27174#issuecomment-2288504376 can’t wait and end up with a patch. So, should we fix this in upstream, add a patch, or do both?
@stitesExpensify wdyt https://github.com/Expensify/App/issues/48100#issuecomment-2398852857?
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
@johncschuster, @stitesExpensify, @situchan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
@stitesExpensify bump! What are your thoughts on the question above?
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
@johncschuster, @stitesExpensify, @situchan Whoops! This issue is 2 days overdue. Let's get this updated quick!
@stitesExpensify bump! We've got an outstanding question here.
Yeah, we’d better fix this in upstream. But some issues like https://github.com/Expensify/App/issues/23889#issuecomment-1763452349 and https://github.com/Expensify/App/issues/27174#issuecomment-2288504376 can’t wait and end up with a patch. So, should we fix this in upstream, add a patch, or do both?
Apologies for the delay, let's do both. I will double the payout since it is more work
Upwork job price has been updated to $500
@QichenZhu I see that your another upstream PR was merged quickly. Similarly can you please create new issue and PR in upstream? If it takes longer, we're sure to do patch first and remove it after RN upgrade.
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.25-3 Reproducible in staging?: Y Reproducible in production?: N Email or phone of affected tester (no customers): applausetester+kh05081@applause.expensifail.com Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
There will be no spacing below the emoji picker.
Actual Result:
There is spacing below the emoji picker when opening emoji picker while keyboard is up.
Workaround:
Unknown
Platforms:
Screenshots/Videos
https://github.com/user-attachments/assets/b11ff3bf-31c0-4af7-bec2-e1a12fe50bb0
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @johncschuster