Do not restrict width of hidden text area (can cause bumping of the screen as the screen scrolls to follow the cursor as it wraps to a new line in the zero-width area). Hide off bottom right (instead of upper left).

This commit is contained in:
Michael Jumper
2012-03-21 18:58:12 -07:00
parent 21b46e7bdf
commit eb71eb305f

View File

@@ -217,11 +217,9 @@ div#viewportClone {
textarea#eventTarget {
position: fixed;
/* Zero... zero... zero... zero... zero... */
right: 0;
bottom: 0;
width: 0;
height: 0;
/* Hide offscreen */
left: 100%;
top: 100%;
opacity: 0;
overflow: hidden;