Run this code:
Adequate performance on iOS for typing into several multiline fields.
- iOS simulator (iOS 7.0.3) on Mac Mini 2.5GHz Intel Core i5 / OS X 10.8.5:
(a) visible lag with font size/visibility changes (ripple effect as each element changes one by one);
(b) sometimes, textarea contents suddenly go partially blank (e.g. typing a large number of short lines) then resolve with further keystrokes;
(c) textarea typing speed OK (very slightly perceptible lag)
- iPad 2 (iOS 7.0.4):
(a) marked lag/ripple with font size changes/visibility
(b) similarly, textarea contents sometimes partially vanish (in similar circumstances) then reappear with more keystrokes (not spontaneously)
(c) very marked lag when typing (significantly impairs utility)
- Asus Eee Pad Transformer Prime TF201 (Android 4.1.1):
(a) font size/visibility changes are instant/synchronous
(b) textarea contents do not disappear/reappear
(c) textarea typing speed fine (lag imperceptible)
I presume the underlying problem is slow re-layout on iOS.
A slightly odd thing is that it happens even when element size doesn't change (e.g. with visibility changes, as above). If one is making multiple elements visible/invisible, this is a significant usability problem.
Even more significant is that it's not feasible to type at a normal typing speed into multiline TextAreas in this circumstance (only workaround I've found is to fix the TextArea element height, but that is much harder for users to type significant quantities of text into than height: Ti.UI.SIZE, because the view is then smaller than the paragraph/s being edited).
Don't know why Android layout is much faster.
I also don't know if the text disappearance (which is sporadic but frequent) is connected.