Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3096] touchstart eventListener disables all input text fields

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-06-07T22:33:20.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsandroid, defect, tableview, textfield, touchstart
ReporterTodd
AssigneeIngo Muschenetz
Created2011-04-15T03:36:50.000+0000
Updated2017-06-07T22:33:20.000+0000

Description

Adding a 'touchstart' eventListener to a tableview causes any textField in the table to become non-enterable. Comment out the touchstart eventListener and all is well. This works fine in iOS.

I've attached a sample program below.

Attachments

FileDateSize
app.js2011-04-15T03:36:50.000+00001208

Comments

  1. kevinwhinnery 2011-04-15

    First off, is it a hard requirement to have a text field in a tableview row? A scroll view might be a better choice.

    Secondly, I just tested on a Droid 2 (2.2 OS), and the text fields in the table view row are editable in the latest build on master. What Android OS version and Titanium SDK version are you using?

    Also, does this exist as a premium helpdesk ticket or Q&A item yet? Might be better to troubleshoot there first before creating a bug report.

  2. Todd 2011-04-15

    Kevin, I'm using Android 2.2 with Titanium 1.5.2 from a few weeks ago.

    I've installed and built with latest continuous 1.7.0 build - same issue. I've done my testing on the emulator and Nexus S.

    Have you tried using the included app.js file to test ??

  3. kevinwhinnery 2011-04-15

    Yes, I used your app.js to test. I can try some other devices as well.

    Also, to my other point, can you explain your intent from a user interface perspective? What is the desired UI here?

  4. Todd 2011-04-15

    The desired UI is to have a list of x nbr of items with and input field to enter a desired "order" quantity.

  5. Todd 2011-04-15

    The touch events on the tableview were used to toggle images to simulate a key/button press. When the touchstart event was present, the input box was not enterable.

  6. Stephen Tramer 2011-04-15

    Assigning to Don for triage. iOS does support text fields in tableviews, so...

  7. Lee Morris 2017-06-07

    Closing ticket due to time passed and lack of work.

JSON Source