react-native-stroke-text
react-native-stroke-text copied to clipboard
View height not updating to fit the height of the Text
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.
<View
style={{
marginTop: 20,
backgroundColor: "red",
minHeight: 5,
}}
>
<StrokeText
text="Test"
fontSize={50}
color="#000000"
strokeColor="#FFFFFF"
strokeWidth={5}
fontFamily="Nunito-Black"
/>
</View>
+1
got the same issue on fabric