Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8221] MobileWeb: Create an "inner" or "hidden" control concept

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-05-29T13:46:22.000+0000
Affected Version/sRelease 2.1.0
Fix Version/sRelease 2.1.0, Sprint 2012-11 MW
ComponentsMobileWeb
Labelsqe-testadded
ReporterBryan Hughes
AssigneeBryan Hughes
Created2012-03-23T08:10:22.000+0000
Updated2012-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.

Comments

  1. Bryan Hughes 2012-05-24

    Pull Request: https://github.com/appcelerator/titanium_mobile/pull/2272 Test with KS, especially Base UI->Views->Event Propagation.
  2. Dustin Hyde 2012-06-13

    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

JSON Source