Locate event target off screen, in case platform doesn't support opacity of text areas (Android 4, for example).

This commit is contained in:
Michael Jumper
2012-03-21 18:25:04 -07:00
parent 94d0b001bb
commit 21b46e7bdf

View File

@@ -212,9 +212,17 @@ div#viewportClone {
visibility: hidden; visibility: hidden;
} }
/* Keyboard event target */
textarea#eventTarget { textarea#eventTarget {
position: fixed; position: fixed;
/* Zero... zero... zero... zero... zero... */
right: 0;
bottom: 0;
width: 0; width: 0;
height: 0; height: 0;
opacity: 0; opacity: 0;
overflow: hidden;
} }