2

I am working on React Native in which I want to stop multiline textinput component's scroll inside ScrollView. How we can achieve it? Android Specially!

1 Answers1

1

you can use textinput option scrollEnabled

but this option only use ios, not work android

scrollEnabled={false}

So I recommend that you set the height and specify the maxLength of letters to prevent scrolling from being seen.

  • example
style={{height : 0000}}
maxLength={0000}
hong developer
  • 13,291
  • 4
  • 38
  • 68