Skip to content

View height not updating to fit the height of the Text #31

@BayenReyes

Description

@BayenReyes

I'm experiencing an issue where a View wrapping a stroke-text does not automatically update its height based on the content rendered. The result is that the text overflows or is clipped, even though no fixed height is set.

Image
 <View
          style={{
            marginTop: 20,
            backgroundColor: "red",
            minHeight: 5,
          }}
        >
          <StrokeText
            text="Test"
            fontSize={50}
            color="#000000"
            strokeColor="#FFFFFF"
            strokeWidth={5}
            fontFamily="Nunito-Black"
          />
        </View>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions