Skip to content

[Due for payment 2025-12-30] [$250] Android- Domains - Long sentences are cut off in Verify domains page when font size is minimum #77419

Closed

Description

@lanitochka17

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.2.75-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from BrowserStack: Exp #76231
Email or phone of affected tester (no customers): applausetester+shsjsks9w9@applause.expensifail.com
Issue reported by: Applause Internal Team
Bug source: Exploratory - Critical User Impact
Device used: Samsung Galaxy S25 FE / Android 16
App Component: Workspace Settings

Action Performed:

Precondition:

  • Device font size is minimum.
  • Log in with Expensifail account.
  1. Launch Expensify app.
  2. Go to Workspaces tab.
  3. Tap on the domain name under Domains section.
  4. Tap Verify.

Expected Result:

Long sentences will be wrapped into multiple lines without cutting off.

Actual Result:

Long sentences are cut off.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari

Screenshots/Videos

Bug7026797_1765460119206.Screen_Recording_20251211_213113_Expensify.mp4
Image

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021999433360960849243
  • Upwork Job ID: 1999433360960849243
  • Last Price Increase: 2025-12-12
  • Automatic offers:
    • PiyushChandra17 | Contributor | 109824763
Issue OwnerCurrent Issue Owner: @twisterdotcom

Activity

  1. added
    Daily
    Bug
    on Dec 11, 2025
  2. melvin-bot commented on Dec 11, 2025

    @melvin-bot

    Triggered auto assignment to @twisterdotcom (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.

  3. ShridharGoel commented on Dec 11, 2025

    @ShridharGoel
    Contributor

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    Some long instructions on the Verify Domain screen are cut off when the device font size is set to minimum.

    What is the root cause of that problem?

    The HTML instructions are wrapped inside <Text> components that enforce inline text layout, so the rendered HTML cannot measure its own width and wrap. This causes the strings to be clipped on small font sizes instead of flowing to the next line.

    <View style={[styles.pt3, styles.gap5]}>
    <Text style={styles.webViewStyles.baseFontStyle}>
    <RenderHTML html={translate('domain.verifyDomain.beforeProceeding', {domainName})} />
    </Text>
    <Text style={styles.webViewStyles.baseFontStyle}>
    <OrderedListRow index={1}>
    <RenderHTML html={translate('domain.verifyDomain.accessYourDNS', {domainName})} />
    </OrderedListRow>
    </Text>

    What changes do you think we should make in order to solve the problem?

    • Render the HTML blocks directly (without outer <Text> wrappers) so the HTML renderer can use block layout and wrap naturally.
    • Keep the ordered list number and the HTML content in a flex row, giving the text container flex to wrap under the number.

    Updated snippet:

    <View style={[styles.pt3, styles.gap5]}>
        <RenderHTML html={translate('domain.verifyDomain.beforeProceeding', {domainName})} />
    
        <OrderedListRow index={1}>
            <View style={styles.flex1}>
                <RenderHTML html={translate('domain.verifyDomain.accessYourDNS', {domainName})} />
            </View>
        </OrderedListRow>
    
        <View>
            <OrderedListRow index={2}>
                <View style={styles.flex1}>
                    <Text style={[styles.webViewStyles.baseFontStyle, styles.pb3]}>{translate('domain.verifyDomain.addTXTRecord')}</Text>
    
                    {!domain.validateCodeError && (
                        <CopyableTextField
                            value={domain.validateCode}
                            isLoading={domain.isValidateCodeLoading}
                        />
                    )}
                </View>
            </OrderedListRow>
    
            {!!domain.validateCodeError && (
                <FormHelpMessageRowWithRetryButton
                    message={getLatestErrorMessage({errors: domain.validateCodeError})}
                    onRetry={() => getDomainValidationCode(accountID, domainName)}
                    isButtonSmall
                />
            )}
        </View>
    
        <OrderedListRow index={3}>
            <Text style={styles.webViewStyles.baseFontStyle}>{translate('domain.verifyDomain.saveChanges')}</Text>
        </OrderedListRow>
    
        <RenderHTML html={translate('domain.verifyDomain.youMayNeedToConsult')} />
    
        <View style={[styles.flexRow, styles.alignItemsCenter, styles.gap3]}>
            <Icon
                src={Exclamation}
                fill={theme.icon}
                medium
            />
            <Text style={styles.mutedNormalTextLabel}>{translate('domain.verifyDomain.warning')}</Text>
        </View>
    </View>
  4. PiyushChandra17 commented on Dec 11, 2025

    @PiyushChandra17
    Contributor

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    Android- Domains - Long sentences are cut off in Verify domains page when font size is minimum

    What is the root cause of that problem?

    1. It's a Known issue in Android native while rendering RenderHTML, RenderHTML uses their own internal styling

    2. styles.renderHTML is missing here

    3. We are wrapping RenderHTML in Text component

    What changes do you think we should make in order to solve the problem?

    1. Add styles.renderHTML to both RenderHTML ie. beforeProceeding and accessYourDNS

    2. Instead of Text, use View Component

    <View style={styles.renderHTML, styles.webViewStyles.baseFontStyle}>
        <RenderHTML html={translate('domain.verifyDomain.beforeProceeding', {domainName})} />
    </View>
    
    <View style={styles.renderHTML, styles.webViewStyles.baseFontStyle}>
        <OrderedListRow index={1}>
            <RenderHTML html={translate('domain.verifyDomain.accessYourDNS', {domainName})} />
        </OrderedListRow>
    </View>

    What alternative solutions did you explore? (Optional)

    n/A

    Result

    Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

  5. added
    External
    on Dec 12, 2025
  6. changed the title [-]Android- Domains - Long sentences are cut off in Verify domains page when font size is minimum[/-] [+][$250] Android- Domains - Long sentences are cut off in Verify domains page when font size is minimum[/+] on Dec 12, 2025
  7. melvin-bot commented on Dec 12, 2025

    @melvin-bot
  8. added
    Help Wanted
    on Dec 12, 2025
  9. melvin-bot commented on Dec 12, 2025

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat (External)

  10. parasharrajat commented on Dec 12, 2025

    @parasharrajat
    Member

    Both proposal makes sense. But based on proposal clarity, @PiyushChandra17's proposal is better. There is no wall of code snippets, and it has better instructions.

    🎀 👀 🎀 C+ reviewed

  11. melvin-bot commented on Dec 12, 2025

    @melvin-bot

    Triggered auto assignment to @puneetlath, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

  12. 31 remaining items

  13. PiyushChandra17 commented on Dec 31, 2025

    @PiyushChandra17
    Contributor

    @twisterdotcom Can we please process the payment on this one, thanks!

  14. mallenexpensify commented on Dec 31, 2025

    @mallenexpensify
    Contributor

    Payment Summary

    Contributor: @PiyushChandra17 paid $250 via Upwork
    Contributor+: @parasharrajat due $250 via NewDot

    @parasharrajat plz complete the BZ checklist.

  15. parasharrajat commented on Jan 1, 2026

    @parasharrajat
    Member

    BugZero Checklist:

    • [Contributor] Classify the bug:
    Bug classification

    Source of bug:

    • 1a. Result of the original design (eg. a case wasn't considered)
    • 1b. Mistake during implementation
    • 1c. Backend bug
    • 1z. Other:

    Where bug was reported:

    • 2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
    • 2b. Reported on staging (eg. found during regression or PR testing)
    • 2d. Reported on a PR
    • 2z. Other:

    Who reported the bug:

    • 3a. Expensify user
    • 3b. Expensify employee
    • 3c. Contributor
    • 3d. QA
    • 3z. Other:
    • [Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.

      Link to comment: https://github.com/Expensify/App/pull/73016/changes#r2656333340

    • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.

      Link to discussion: Not needed

    • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

    • [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

      Link to issue: https://github.com/Expensify/Expensify/issues/584540

    Regression Test Proposal

    Precondition:

    • Android device font-size is set to minimum

    Test:

    1. Open the New Expensify Android App
    2. Tap on "Workspaces" Tab
    3. Under "Domain" section > Add a domain.
    4. On the worksapce page, Tap on "Domain" name
    5. Tap on "Verify Domain" button.
    6. Verify the text is displayed correctly and not cut-off in verify domains page.
      • "Before proceeding, verify that you own [domain] by updating its DNS settings" > "Access your DNS provider and open DNS settings for [domain]"

    Do we agree 👍 or 👎

    Zapier Logs Run ID: 00040eee-2d31-aa45-36bf-ea076529ce04
  16. parasharrajat commented on Jan 1, 2026

    @parasharrajat
    Member
  17. melvin-bot commented on Jan 1, 2026

    @melvin-bot

    @twisterdotcom Whoops! This issue is 2 days overdue. Let's get this updated quick!

  18. melvin-bot commented on Jan 6, 2026

    @melvin-bot

    @twisterdotcom 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

  19. twisterdotcom commented on Jan 6, 2026

    @twisterdotcom
    Contributor

    I think @mallenexpensify has taken over the payment on this, so going to assign him.

  20. parasharrajat commented on Mar 19, 2026

    @parasharrajat
    Member

    Payment requested as per #77419 (comment)

  21. removed their assignment
    on Mar 23, 2026
  22. twisterdotcom commented on Mar 23, 2026

    @twisterdotcom
    Contributor

    Confirming Payment Summary. Paid via New Expensify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions