Skip to content

[Due for payment][$250] Workspace name overflows on WorkspaceUserRestrictedAction page #79517

@yuwenmemon

Description

@yuwenmemon

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: N/A
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from BrowserStack: N/A
Email or phone of affected tester (no customers): N/A
Logs: N/A
Expensify/Expensify Issue URL: N/A
Issue reported by: @nkdengineer (discovered during PR #78888 review)
Slack conversation (hyperlinked to channel name): N/A

Action Performed:

  1. Have a workspace with a long name and with an expired subscription
  2. As a member of that workspace, navigate to the restricted action page (e.g., by trying to change an expense to that expired workspace)
  3. Observe the workspace name text on the WorkspaceUserRestrictedAction page

Expected Result:

The workspace name should wrap properly and stay within the container boundaries, using word-break styling to prevent overflow.

Actual Result:

The workspace name overflows outside the container when the name is long, breaking the page layout.

Workaround:

Users can still use Expensify. This is a visual/UI issue only.

Platforms:

Select the officially supported platforms where the issue was reproduced:

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

Screenshots/Videos

Video showing the issue (from PR #78888):
https://github.com/user-attachments/assets/3984fad5-c355-4064-922d-35023d3a5647

Technical Details

The issue is located in:

  • src/pages/RestrictedAction/Workspace/WorkspaceUserRestrictedAction.tsx (line 54)

The text element is missing breakWord or breakAll styling to handle long workspace names.

Reference: #78888 (comment)

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~022012226024679170260
  • Upwork Job ID: 2012226024679170260
  • Last Price Increase: 2026-01-16
Issue OwnerCurrent Issue Owner: @jayeshmangwani

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsMonthlyKSv2ReviewingHas a PR in review

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions