[Help] Codemirror line adjusting issue

The focused line should be above the keyboard, but it isn’t. (i am using codemirror-react)

Screen Recording (github.com)

FYI: the link doesn’t work.