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

Windows: Ti.UI.View ignores click event

    Details

    • Story Points:
      5
    • Sprint:
      2016 Sprint 11 SDK

      Description

      Ti.UI.View ignores click event.

      How to reproduce

      ´╗┐var window = Ti.UI.createWindow({ backgroundColor: 'green' });
      var view = Ti.UI.createView({
          borderRadius: 5,
          borderColor: 'orange',
          borderWidth: 10,
          backgroundColor: 'blue',
          width: '90%',
          height: '90%',
      });
      view.addEventListener('click', function () {
          Ti.API.info('View clicked');
      });
      window.addEventListener('click', function () {
          Ti.API.info('Window clicked');
      });
      window.add(view);
      window.open();
      

      Expected

      Clicking blue View should fire click event on both window and view.

      [INFO] View clicked
      [INFO] Window clicked
      

      Actual

      Only [INFO] Window clicked is displayed.

      This issue is introduced by TIMOB-23374.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi
                Reporter:
                kiguchi Kota Iguchi
                Tester:
                Josh Longton
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code