capnmidnight / Primrose

A syntax-highlighting text editors that renders to an HTML5 Canvas
https://www.primrosevr.com
Other
530 stars 67 forks source link

CSS3D transform surrogate text area #51

Closed capnmidnight closed 8 years ago

capnmidnight commented 9 years ago

So that it exactly aligns under the visible editor and receives focus in the right location of the page

capnmidnight commented 8 years ago

This is now out of date. The surrogate text area is no longer used for positioning the cursor on the screen, because we're not going to support editing using on-screen keyboard anymore. The supported use-case for smartphones is as Google Cardboard headsets, where it would be visually painful to have the on-screen keyboard appear.