-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[HOLD for payment 2024-11-21] [$250] Android - Compose Box - Composer not expanded when adding emojis until reaching second line #51287
Comments
Triggered auto assignment to @anmurali ( |
@anmurali 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 |
@anmurali Huh... This is 4 days overdue. Who can take care of this? |
Job added to Upwork: https://www.upwork.com/jobs/~021851362613036850059 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @DylanDylann ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Android - Compose Box - Composer not expanded when adding emojis until reaching second line What is the root cause of that problem?We have set What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.The height of live markdown input doesn't fit its content on Android if it contains emojis. What is the root cause of that problem?
![]()
However, the text height measurement treats the font size as if it’s in pixels, so the measured height doesn't match the actual height. What changes do you think we should make in order to solve the problem?Use pixels in ![]() What alternative solutions did you explore? (Optional)N/A |
Reviewing on Monday |
@QichenZhu Your proposal doesn't work for me ![]() |
@shahinyan11 Could you please provide a test branch? |
@DylanDylann Sorry I didn’t clearly mention that both arguments in the constructor need to change. Here’s the code I tested with. Could you double check?
package com.expensify.livemarkdown.spans;
import android.text.style.AbsoluteSizeSpan;
import com.facebook.react.uimanager.PixelUtil;
public class MarkdownEmojiSpan extends AbsoluteSizeSpan implements MarkdownSpan {
public MarkdownEmojiSpan(float fontSize) {
super((int) PixelUtil.toPixelFromDIP(fontSize), false);
}
} Before: After: |
@QichenZhu Thanks for your update @QichenZhu's proposal looks good to me 🎀 👀 🎀 C+ Reviewed |
Triggered auto assignment to @francoisl, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@francoisl @anmurali @DylanDylann 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! |
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @QichenZhu 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@QichenZhu Let's create a PR on App repo to upgrade https://github.com/Expensify/react-native-live-markdown version |
@DylanDylann The PR to bump the library to an earlier version has already been reviewed, so how about waiting until it's merged as jumping versions tends to cause issues? |
Issue not reproducible during KI retests. (First week) |
Still reproducible. I'll open a PR in hours. |
Triggered auto assignment to @twisterdotcom ( |
Rotating to get another BZ assigned while OOO |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.61-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-11-21. 🎊 For reference, here are some details about the assignees on this issue:
|
@DylanDylann @twisterdotcom @DylanDylann The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalTest:Platform: Android
Do we agree 👍 or 👎 |
Payment Summary:
|
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.52-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5113856&group_by=cases:section_id&group_order=asc&group_id=306201
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
When the message with emojis reaches a second line, the compose box should expand to make all the message visible
Actual Result:
When adding several emojis and reaching a second line, the compose box is not expanded and only the second line is visible
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6642449_1729622425031.Expand.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @twisterdotcomThe text was updated successfully, but these errors were encountered: