colinramsay.co.uk

A Better TextAreaField for Sencha Touch 2

18 May 2012

The ST2 TextAreaField is really rather poor when it comes to editing lots of text. Scrolling through is awkward, the virtual keyboard gets in the way, and the user experience is sub-optimal.

I put together a component which tries to address this, and you can find my BetterTextArea on github.

In read only mode, the field will pop up a full-screen viewer with custom scrolling to allow the content to be read more easily. In editable mode, the viewer is fills the space in the window not taken up by the virtual keyboard, and again allows scrolling to take place with a single finger gesture.

Try it out and fork it if you have any suggestions!