Your comments

Sorry! forgot to mention that the problem occurs in SSH TerminalIMG_0185.MP4

see the same problem on iPad when keyboard is minimized. 
No problem on iPhone.