Skip to content

Commit 55314e0

Browse files
committed
Position the textarea at top:0
This prevents the browser from scrolling to the top of the page if the terminal can be scrolled out of view. Fixes #357
1 parent 1e928df commit 55314e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/xterm.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
position: absolute;
6262
opacity: 0;
6363
left: -9999em;
64-
top: -9999em;
64+
top: 0;
6565
width: 0;
6666
height: 0;
6767
z-index: -10;

0 commit comments

Comments
 (0)