[TIMOB-1931] Android: Switch not clickable
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:57:34.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | Android |
Labels | android, defect, switch |
Reporter | Matthew Lieder |
Assignee | Don Thorp |
Created | 2011-04-15T03:05:57.000+0000 |
Updated | 2011-04-17T01:57:34.000+0000 |
Description
Titanium SDK version: 1.4.2 (09/27/10 10:22 30a188)
Android SDK: 2.1 APIs
In my app or even KitchenSink, when clicking on a switch nothing happens (visually or programmatically). Only when I do the following to it does it begin working properly:
mySwitch.addEventListener('click', function() {});
(from [d074f62eaf9b76a99f7bf6684dfb8e918f4aad42]) [#951 state:fixed-in-qa][#1931 state:fixed-in-qa][#1934 state:fixed-in-qa][#1937 state:fixed-in-qa][#1939 state:fixed-in-qa][#1940 state:fixed-in-qa] Fixing regression where keying off of presence of 'click' handler broke the expectation that views are touchable by default. Added support for touchEnabled. If touchEnabled is false, click proceeds through all views until one that handles click and is located under the touch point is found. Several of these defects were side-effects attributable to clickability. http://github.com/appcelerator/titanium_mobile/commit/d074f62eaf9b76a99f7bf6684dfb8e918f4aad42"> http://github.com/appcelerator/titanium_mobile/commit/d074f62eaf9b7...
1.4.2.4ce7ff G1 running 1.6, 2.2 simulator