1

Is there any way by which we can simulate the overflow-y: hidden (MDN Docs) style in react-native StyleSheet?

TylerH
  • 20,799
  • 66
  • 75
  • 101
Kuncheria
  • 1,182
  • 9
  • 16

1 Answers1

-1

No need to use the overflow property if your views are well designed. Do not hesitate to encapsulate your views in many views as needed and make sure you're using flex boxes or static height/width, limit texts lengts with 'numberOfLines', etc

If you really need to hide an overflow in Y, manage your width properly and just use

overflow: hidden

to handle your height.

BloodyMonkey
  • 1,572
  • 1
  • 9
  • 15