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:
1 parent
21b46e7bdf
commit
eb71eb305f
1 file changed
+3
-5
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user