NativeBase Button getting squished inside flex

280 Views Asked by At

Anyone knows how to solve this: in iOS, a button gets "squished" inside a Flex that has fixed height, but not on Android or web.

Demo Link

1

There are 1 best solutions below

0
On

You've kept the container's height less than Button's and I think overflow is hidden in RN for iOS by default. Also, setting it overflow "visible" doesn't work. The same issue will happen with RN's Text and View. https://snack.expo.io/@nishanbende/nativebase-button-squished-inside-flex-in-ios