Open
Description
Issue summary
On mobile, If you write a lot of commands and the page gets bigger, you need to scroll to bottom to see the command line because the virtual keyboard hides it. Then when writting new commands the page automatically scrolls to top and you need to scroll to bottom to see the command line again.
Expected behavior
The page should stay focused on the current command line cursor
Actual behavior
The page auto scrolls to top when writing
Steps to reproduce
-
just create a simple page with this code:
jQuery(function ($, undefined) { var term = $("body").terminal(); });
-
host this locally e.g. using liveserver on vs code.
-
Execute commands to get the page bigger. Scroll to bottom to see the command line. Then write something again. The page will scroll to top automatically.
Browser and OS
Chrome, Firefox on iOS 15.1
Activity