[TIMOB-3096] touchstart eventListener disables all input text fields
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-06-07T22:33:20.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android |
Labels | android, defect, tableview, textfield, touchstart |
Reporter | Todd |
Assignee | Ingo Muschenetz |
Created | 2011-04-15T03:36:50.000+0000 |
Updated | 2017-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
File | Date | Size |
---|---|---|
app.js | 2011-04-15T03:36:50.000+0000 | 1208 |
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.
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 ??
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?
The desired UI is to have a list of x nbr of items with and input field to enter a desired "order" quantity.
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.
Assigning to Don for triage. iOS does support text fields in tableviews, so...
Closing ticket due to time passed and lack of work.