You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2024-12-12] [$2000] Android - Title is not rendered fully in the available space. #21219
Please re-state the problem that we are trying to solve in this issue.
Android - Title is not rendered fully in the available space.
What is the root cause of that problem?
The root cause is android use different way to break words, see here and textbreakstrategy explanation here
I don't think any textbreakstrategy value will make the text stretch to end of the line, because there is no flex 1 style for text which make Text break instead of stretch in the parent view.
What changes do you think we should make in order to solve the problem?
remove style optionDisplayNameCompact and add styles.flex1
changed the title [-]Android - Title is not rendered fully in the available space.[/-][+][$1000] Android - Title is not rendered fully in the available space.[/+]on Jun 21, 2023
Please re-state the problem that we are trying to solve in this issue.
Android - Title is not rendered fully in the available space.
What is the root cause of that problem?
Default Text render startegy for android is highQuality which is causing the issue where it breaks unwantedly the string but we are only showing a single line.
What changes do you think we should make in order to solve the problem?
We need to provide the prop textBreakStrategy here with textBreakStrategy="simple" which solves the issue.
Same we are providing for ResendValidationFormhere.
Activity
melvin-bot commentedon Jun 21, 2023
Triggered auto assignment to @adelekennedy (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Jun 21, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)ahmedGaber93 commentedon Jun 21, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Android - Title is not rendered fully in the available space.
What is the root cause of that problem?
The root cause is android use different way to break words, see here and
textbreakstrategyexplanation hereI don't think any
textbreakstrategyvalue will make the text stretch to end of the line, because there is no flex 1 style for text which make Text break instead of stretch in the parent view.What changes do you think we should make in order to solve the problem?
remove style
optionDisplayNameCompactand addstyles.flex1old proposal
we need change
flexGrow: 0, here to beflexGrow: 1, or remove it and useflex: 1App/src/styles/styles.js
Lines 1401 to 1406 in 797298e
before and after.
What alternative solutions did you explore? (Optional)
adelekennedy commentedon Jun 21, 2023
yeah - longer chat names are being cut off in the center of the screen with ellipses rather than reaching the border of the screen like we see in IOS
[-]Android - Title is not rendered fully in the available space.[/-][+][$1000] Android - Title is not rendered fully in the available space.[/+]melvin-bot commentedon Jun 21, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01ef0ae782c96792ac
melvin-bot commentedon Jun 21, 2023
Current assignee @adelekennedy is eligible for the External assigner, not assigning anyone new.
melvin-bot commentedon Jun 21, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif (
External)Pujan92 commentedon Jun 21, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Android - Title is not rendered fully in the available space.
What is the root cause of that problem?
Default Text render startegy for android is
highQualitywhich is causing the issue where it breaks unwantedly the string but we are only showing a single line.What changes do you think we should make in order to solve the problem?
We need to provide the prop textBreakStrategy here with
textBreakStrategy="simple"which solves the issue.Same we are providing for
ResendValidationFormhere.App/src/components/DisplayNames/index.native.js
Lines 8 to 12 in 003e5e5
351 remaining items
melvin-bot commentedon Dec 24, 2024
@ospfranco, @rlinoz, @s77rt, @fabOnReact, @abdulrahuman5196, @adelekennedy Whoops! This issue is 2 days overdue. Let's get this updated quick!
adelekennedy commentedon Dec 24, 2024
@aimane-chnaif once you accept on Upwork I will pay you out!
melvin-bot commentedon Dec 30, 2024
@ospfranco, @rlinoz, @s77rt, @fabOnReact, @abdulrahuman5196, @adelekennedy Huh... This is 4 days overdue. Who can take care of this?
adelekennedy commentedon Dec 30, 2024
bump @aimane-chnaif
melvin-bot commentedon Jan 3, 2025
@ospfranco, @rlinoz, @s77rt, @fabOnReact, @abdulrahuman5196, @adelekennedy Whoops! This issue is 2 days overdue. Let's get this updated quick!
parasharrajat commentedon Jan 19, 2025
Payment requested as per #21219 (comment)
JmillsExpensify commentedon Jan 22, 2025
$250 approved for @parasharrajat
mallenexpensify commentedon Oct 30, 2025
Blast from the past 🚀
Payment Summary
Contributor+: @aimane-chnaif paid $250 via Upwork
They were out on medical leave.