Normally when cursor reaches right side of TextInput the text scrolls as you type. Not in this example. We ran into this recently when upgrading a project to React Native 0.41.0 and found out that the height of a TextInput must be larger than 30 for the expected sideway scrolling to work.
We ended up setting height to 34 after some testing (primarily on iOS), but haven't done any deeper research on what may be causing it.
Changing height to 34 in MyTextInput.styles.js brings back text overflow in this example too.
Great article by the way!
Normally when cursor reaches right side of TextInput the text scrolls as you type. Not in this example. We ran into this recently when upgrading a project to React Native 0.41.0 and found out that the height of a
TextInputmust be larger than 30 for the expected sideway scrolling to work.We ended up setting height to 34 after some testing (primarily on iOS), but haven't done any deeper research on what may be causing it.
Changing height to 34 in
MyTextInput.styles.jsbrings back text overflow in this example too.Great article by the way!