Skip to content

Text: numberOfLines/ellipsizeMode not working #310

Description

@alizahid

What happened?

Upgraded to Pro, everything looks good so far.

But we have several Text components (imported from react-native-gesture-handler) that don't honor the numberOfLines prop anymore. Or rather the ellipsizeMode isn't.

Before

Image

After

Image

I've also tried importing Text directly but that had no effect, since the RNGH Text component imports from RN anyway.

Steps to Reproduce

  1. Create a View with a fixed width
  2. Add a Text component to it with a bunch of text in it
  3. Add numberOfLines={1} to the Text component

Snack or Repository Link (Optional)

No response

Uniwind version

1.0.0-beta.6

React Native Version

0.81.5

Platforms

iOS

Expo

Yes

Additional information

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions