gluestack

gluestack Logogluestack

Image auto height

rformato posted this in #support
Open in Discord
Avatar
rformatoOP
Hello, I'm very new to gluestack on React Native and nativewind and I'm struggling to do something very simple, that is to have an image enlarged to the max width, keeping its height so that the aspect ratio is preserved. I would normally use aspect-ratio and height:'auto' but it seems like the ccsinterop is removing the height:'auto' from the image

1 Reply