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 { textarea#eventTarget {
position: fixed; position: fixed;
/* Zero... zero... zero... zero... zero... */ /* Hide offscreen */
right: 0; left: 100%;
bottom: 0; top: 100%;
width: 0;
height: 0;
opacity: 0; opacity: 0;
overflow: hidden; overflow: hidden;