Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-1721

Window 'open' & 'close' events do not fire when touchEnabled == false

    Details

      Description

      The open & close events are not fired when touchEnabled is set to false, when the property is removed, it fires.

      var w = Ti.UI.createWindow({
      	touchEnabled:false,
      	backgroundColor:'red'
      });
      w.addEventListener('open', function( ) {
      	alert('open');
      });
       
      w.addEventListener('close', function( ) {
      	alert('close');
      });
       
      w.open();
       
      setTimeout(function( ) {
      	w.close();
      }, 2500);
      

        Attachments

          Activity

            People

            • Assignee:
              sliang Shuo Liang
              Reporter:
              gertjans Gertjan Smits
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code