Cursor "Jumps" to Bottom After Action



This scenario often occurs when I initiate a Drafts 5 action, for example “undo” and various others: After tapping an action, the cursor then immediately jumps to the very bottom of the text?

Is there a way to keep this from happening? Do I need to include additional custom Javascript inside the action to prevent this behavior?

I usually want my cursor to stay in place, so I can continue editing without having to scroll all the way back up to find my place again.