Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-12884

iOS: ViewProxy checks for listeners using parent instead of bubbleParent, does not allow for nonViewProxy event bubbling.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Duplicate
    • Affects Version/s: Release 2.0.2
    • Fix Version/s: None
    • Component/s: iOS
    • Labels:
      None

      Description

      Note to self, TiViewProxy.m:1631

      #pragma mark Listener Management
       
      -(BOOL)_hasListeners:(NSString *)type
      {
      	if ([super _hasListeners:type])
      	{
      		return YES;
      	}
      	// check our parent since we optimize the fire with
      	// the check
      	if (parent!=nil)
      	{
      		// walk up the chain
      		return [parent _hasListeners:type];
      	}
      	return NO;
      }
      

      With ListView, this will become an issue if it isn't already with TableView.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                blainhamon Blain Hamon
                Reporter:
                blainhamon Blain Hamon
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-15760
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration