Closed IuliiaHerets closed 2 weeks 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.
@johncschuster FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
Room - Mention members list overlaps Send button
We display the mention suggestion popup based on cursor coordinate here https://github.com/Expensify/App/blob/885d6f49aa922d372d6007b12fe768e4705a18a5/src/components/AutoCompleteSuggestions/index.tsx#L100
And the compose input has 8px paddingTop that makes the mention suggestion popup overlap with the compose input box
add + 8 to the bottomValue to make it not overlap with the compose input
let bottomValue = windowHeight - (cursorCoordinates.y - scrollValue + y) - keyboardHeight + 8;
Might need add here to if needed
Edited by proposal-police: This proposal was edited at 2024-09-19 16:22:54 UTC.
Mention members list overlaps Send button
Nothing wrong with the bottomValue calculation. The RCA is here
We minus the bottom with getBottomSuggestionPadding
If we remove this function, the suggestion looks like
We should update this value
to
0 (the result image is above)
-6
Keep the current value and update this line to
<View style={StyleUtils.getBaseAutoCompleteSuggestionContainerStyle({left, width, bottom: bottom + getBottomSuggestionPadding()})}>{componentToRender}</View>
same as what we did here
We can adjust padding value depends on design team
@johncschuster What do you think about my proposal?
@johncschuster Huh... This is 4 days overdue. Who can take care of this?
Job added to Upwork: https://www.upwork.com/jobs/~021838693306849868080
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat (External
)
I think we need to adjust the bottom on mweb devices same as native. @dominictb's approach make sense to me. @dominictb Can you please check how does it look with this change?
@parasharrajat
I think we need to adjust the bottom on mweb devices same as native.
So it's my third solution. Here's the result
https://github.com/user-attachments/assets/37fa376a-8521-4737-b1ba-97946fb3b40c
@johncschuster, @parasharrajat Eep! 4 days overdue now. Issues have feelings too...
@parasharrajat can you take a look above?
@dominictb's proposal looks good to me. Let's go with that approach. Make we we apply the same view line mobile native on mweb and keep the existing flow on web.
:ribbon: :eyes: :ribbon: C+ reviewed
Triggered auto assignment to @techievivek, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
📣 @dominictb 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻 Keep in mind: Code of Conduct | Contributing 📖
⚠️ Looks like this issue was linked to a Deploy Blocker here
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.
If a regression has occurred and you are the assigned CM follow the instructions here.
If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.
My Bad, instead of issue I used PR link.
@johncschuster @techievivek @parasharrajat I just came across this thread and seems like the overlap between the suggestion box and composer/send button is expected. The fixed bottom padding is to keep the distance between the suggestion box and the cursor not too far away.
I think we should just close the PR and proceed payments since it is expected. Wdyt?
Hmm, but I think we can fix the padding for this case, no?
Let me bump the design team in the above thread to confirm if we are OK with keeping it as it is.
Coming from here https://expensify.slack.com/archives/C01GTK53T8Q/p1729178050894439?thread_ts=1728373839.980369&cid=C01GTK53T8Q, this is expected behaviour for now so let's close the PR and finish up the payment, thanks.
I closed the PR.
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.38-0 Reproducible in staging?: Y Reproducible in production?: Y Email or phone of affected tester (no customers): gocemate+a2199@gmail.com Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
Mention members list should not overlaps the Send button
Actual Result:
Mention members list overlaps Send button
Workaround:
Unknown
Platforms:
Screenshots/Videos
View all open jobs on GitHub
Upwork Automation - Do Not Edit