Offset padding on new line

I’ve run into what seems to be a fairly common issue where I need the editor to offset when the user is typing and the editor content is near the bottom of the page. We tried scroll padding which doesn’t seem to work. Has anybody had any luck with this?