Skip to content

Nested Text breaks out of layout #338

Description

@alizahid

What happened?

I have a custom Markdown renderer which has some nested Text components. With uniwind, everything worked as it should. Since beta.8, it's a bit messed up.

uniwind

Image

uniwind-pro beta.8 and 9

Image

Steps to Reproduce

  1. Add a Text with a Text nested inside
  2. Add following classes to parent: font-sans text-base text-black
  3. Add following classes to child: font-mono text-base text-white bg-black

Snack or Repository Link (Optional)

No response

Uniwind version

beta.9

React Native Version

0.81.5

Platforms

Android, 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