Skip to content

[Tracking] Single line Text is not clipping correctly #7206

@parasharrajat

Description

@parasharrajat

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Due to the recent upgrade to RN-web 0.17.5, we started to face a couple of issues where Text is not clipping correctly.

If you use <Text numberOfLines={1} />, it should be clipped with an ellipsis at the end. But this is not the case anymore. There is no fix effect rather multiple side-effects.

List of issues

Platform:

Where is this issue occurring?

  • Web

Solution

I have submitted a PR to fix this issue upstream necolas/react-native-web#2193 which I am waiting to be merged.

So that we can upgrade our dependency.

Slack : https://expensify.slack.com/archives/C01GTK53T8Q/p1642087714433600

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions