Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13848] Android: TextArea loses focus when the string wraps and changes the height of the view

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.1.0, Release 3.2.0
Fix Version/sn/a
ComponentsAndroid
LabelsAlloy, focus, tableview, textarea
ReporterTyler Reid
AssigneeUnknown
Created2013-05-10T20:57:56.000+0000
Updated2018-02-28T20:03:48.000+0000

Description

*Problem* When the user types anything that makes the text area wrap down to the next line, thus extending the height of the TextArea, it loses focus. The keyboard stays up but nothing shows up when keys are pressed. *Steps to reproduce* 1. Create a new blank Alloy project 2. Add the controller, style and view.xml from the .rar file and add the code below to index.js 3. Run on Android 4. Enter text into the TextField until it wraps to the next line 5. Observe that the TextField loses focus *index.js*
var arg = {
		text: "Enter the title of your broadcast",
		positiveLabel: "Continue",
		negativeLabel: "Back",
	}
	Alloy.createController("InputDialog", arg).getView().open();

Attachments

FileDateSize
app.rar2013-05-10T20:57:56.000+00001096

Comments

  1. Daniel Sefton 2013-05-14

    Tested and confirmed on Samsung Galaxy S2 Android 2.3.6 with Ti SDK 3.1 GA and latest 3.2 CI.

JSON Source