[TIMOB-24603] Windows: Remove all children is not working on windows devices
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-05-02T16:48:38.000+0000 |
Affected Version/s | Release 6.0.3 |
Fix Version/s | Release 6.1.0 |
Components | Windows |
Labels | n/a |
Reporter | Ricardo Ramirez |
Assignee | Kota Iguchi |
Created | 2017-04-19T21:52:22.000+0000 |
Updated | 2017-05-02T23:29:50.000+0000 |
Description
H5. Issue Description
Using Ti.UI.View.removeAllChildren on a View element on Windows devices results in no children being removed. There is a viable workaround in iterating through each child of a View and removing it individually. However, trying to use removeAllChildren then using this workaround results in nothing happening (it is possible that removeAllChildren is somehow removing items from the View.children array without affecting the UI).
https://github.com/appcelerator/titanium_mobile_windows/pull/981
Verified fix in SDK version 6.2.0.v20170502104202 and 6.1.0.v20170502132103 test and other information can be found at: https://github.com/appcelerator/titanium_mobile_windows/pull/982 (6_1_X) https://github.com/appcelerator/titanium_mobile_windows/pull/981 (Master)