[TIMOB-8221] MobileWeb: Create an "inner" or "hidden" control concept
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-05-29T13:46:22.000+0000 |
Affected Version/s | Release 2.1.0 |
Fix Version/s | Release 2.1.0, Sprint 2012-11 MW |
Components | MobileWeb |
Labels | qe-testadded |
Reporter | Bryan Hughes |
Assignee | Bryan Hughes |
Created | 2012-03-23T08:10:22.000+0000 |
Updated | 2012-06-13T14:10:38.000+0000 |
Description
Many of our controls are created by assembling other controls. While this is great from a reuse standpoint, it makes the element graph look different than the user expects. This also affects the "source" object in UI events that can be unexpected from the user's perspective. We need to create a property of some sort that tells a control it is one of these hidden controls and needs to hide itself from the user.
This affects the "children" property. Hidden children should NOT be returned in the array of children.
We need to add some general helpers to the View subclass.
Pull Request: https://github.com/appcelerator/titanium_mobile/pull/2272 Test with KS, especially Base UI->Views->Event Propagation.
Closing as Fixed. Verified via appcelerator-developer-relations/KitchenSink > Base UI > Views > Events Propagation SDK: 2.1.0.v20120613120250 Studio: 2.1.0.201206121914 KitchenSink: appcelerator-developer-relations/KitchenSink master Browsers Tested: Chrome, Firefox