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

TiAPI: bubbleParent property not being set properly on both iOS and Android

    Details

      Description

      Problem description
      the bubbleParent property is not being set correctly, on Android and iOS for creation of a button, and on iOS only when using the setter function.

      Test case

      app.js

      var win = Ti.UI.createWindow({
      	backgroundColor : "#FFF"
      });
       
      try {
      	var button1 = Ti.UI.createButton({
      		bubbleParent : false,
      	});
      	Ti.API.info('button1 bubbleParent:false = ' + button1.getBubbleParent());
      	button1.setBubbleParent(false);
      	Ti.API.info('button1 setBubbleParent(false) = ' + button1.getBubbleParent());
      	win.add(button1);
      } catch (e) {
      	Ti.API.error('button1 getBubbleParent() error:' + e);
      }
       
      win.open();
      

      Logs: Android

      console

      button1 bubbleParent:false = true
      button1 setBubblePrent(false) = false
      

      Logs: iOS

      console

      button1 bubbleParent:false = 0
      button1 setBubbleParent(false) = true
      

        Attachments

          Activity

            People

            • Assignee:
              ingo Ingo Muschenetz
              Reporter:
              miltgrin Milt Grinberg
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration