Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10377] TiAPI: event system: Bubble defaults

GitHub Issuen/a
TypeSub-task
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsTiAPI
Labelsn/a
ReporterBlain Hamon
AssigneeUnknown
Created2012-08-09T15:28:05.000+0000
Updated2018-02-28T20:04:12.000+0000

Description

Once the bubble architecture is done, now begins the task of determining precise behavior. This includes:

Enumerate all the events that can bubble (UI)

Enumerate all proxies/views that receive or pass along the events of #1

For each proxy in #2, determine if they bubble, and if so, where they bubble to.

Create action items for each OS to implement these changes.

Possible impacts of behavior changes might need noting.

Comments

  1. Neeraj Gupta 2012-08-09

    We need to quickly identify the class of events that should bubble up.
  2. Blain Hamon 2012-08-15

    Event field in documentation: Bubbles Decisions on which events bubble is to be done in Docs first. (Hint: UI) From Neeraj: I would like to propose the following and have the council review this specific proposal this week: All generic touch based events should bubble (touchstart, touched, click, long press, etc.) Container/View specific events should not bubble (open, close, focus, blur, post layout, scroll, etc) Bubbling should stop at the window level and not propagate to any containers that hold windows (tab, tab group, and navgroup) #2 should be done via docs as the bubbleParent property #3 Proposed: * Views by default bubble to parent view where parent.add(child) * Table rows bubble to sections * Table sections bubble to table * Views inside scrollableViews bubble to that scrollableView * Whither Navgroup?
  3. Blain Hamon 2012-08-16

    Given that windows do not bubble, and that navGroup holds windows (which don't bubble) and should be a window, I propose that NavGroup does not bubble.
  4. Bryan Hughes 2012-08-16

    Agreed, navGroups shouldn't bubble in preparation for their eventual promotion to Window status.

JSON Source