react-native-stroke-text icon indicating copy to clipboard operation
react-native-stroke-text copied to clipboard

View height not updating to fit the height of the Text

Open BayenReyes opened this issue 7 months ago • 2 comments

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>

BayenReyes avatar May 20 '25 14:05 BayenReyes

+1

hamdij0maa avatar May 25 '25 08:05 hamdij0maa

got the same issue on fabric

AlirezaHadjar avatar Jun 02 '25 13:06 AlirezaHadjar