I have a TextInput with multi-line typing to true. I scroll the input in focus with:
scrollResponder.scrollResponderScrollNativeHandleToKeyboard( React.findNodeHandle(this.refs.myInput), 0, true );
However, when the multi-line TextInput expands, the text will be hidden under the keyboard. I just want to scroll down when the cursor / current text is not displayed. Therefore, I canβt just run the above code when changing the text, because it will scroll the view even if the current cursor / current text is visible (for example, editing on the first line).
Is there a way to get the cursor / current position of the text on the screen? Or is there another way to do what I'm trying to do?
Currently

What I'm trying to achieve: 
javascript ios react-native textinput
S craft
source share