[TIMOB-25306] Windows: touchEnabled property of Ti.UI.Picker does not work
| GitHub Issue | n/a |
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2018-05-22T23:35:26.000+0000 |
| Affected Version/s | Release 6.2.0 |
| Fix Version/s | Release 7.3.0 |
| Components | Windows |
| Labels | n/a |
| Reporter | Neeraj Mishra |
| Assignee | Kota Iguchi |
| Created | 2017-09-16T21:09:06.000+0000 |
| Updated | 2018-06-12T16:04:32.000+0000 |
Description
Problem Description:
touchEnabled property of Ti.UI.Picker is not working. Even though touchEnabled property is applied to the Picker, user is able to click the picker to see options.
Steps to Reproduce:
1. Run the attached Alloy project (attached)
2. touchEnabled property applied to Picker has no effect on it.
Expected Results:
Picker should be disabled once touchEnabled property is set false.
Attachments
| File | Date | Size |
| index.js | 2017-09-16T21:08:48.000+0000 | 63 |
| index.tss | 2017-09-16T21:08:56.000+0000 | 155 |
| index.xml | 2017-09-16T21:09:03.000+0000 | 119 |
I can see that the
Xaml.Controls.ComboBoxcontrol we are using internally for picker doesn't change the UI appearance regarding touchEnabled propertiesIsTapEnabled, IsRightTapEnabled etc, then you can see the options even when touch-related proeprties are disabled. So this is a platform component behavior and I would resolve this as "Not Our Bug".During investigating TIMOB-26036, it turns out we may be able to fix this, we could use
IsEnabledproperty even whenIsTapEnableddoesn't changes the appearance of the UI.https://github.com/appcelerator/titanium_mobile_windows/pull/1236 TIMOB-26036 has also been taken care with this PR.
*Closing ticket.* The fix is present in SDK: {noformat} 7.3.0.v20180607210411 {noformat}