TextEditor cursor hidden behind keyboard

I have been trying to figure this out all day. Texteditor newline cursor always just hidden behind keyboard, when you start typing, it will show up in the right position.

TextEditor cursor hidden behind keyboard
 
 
Q