Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2533] "blur" event listener for windows inside a navigation window (inside a split view) not working

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2013-11-21T02:38:10.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsios
ReporterMarco Cancellieri
AssigneeShak Hossain
Created2013-11-13T10:42:01.000+0000
Updated2016-03-08T07:41:35.000+0000

Description

var detailWin= Ti.UI.createWindow({backgroundColor:"white"}); var win1 = Ti.UI.createWindow({backgroundColor:"white"}); var win2 = Ti.UI.createWindow({backgroundColor:"white"}); win2.addEventListener('blur', function(){ //should be fired when you press on the back button from win2 alert("win2 blurred"); }); var button = Ti.UI.createButton({title:"win2"}); button.addEventListener('click', function(){navWin.openWindow(win2);}); win1.add(button); var navWin = Ti.UI.iOS.createNavigationWindow({ window:win1 }); var splitWin = Ti.UI.iPad.createSplitWindow({ showMasterInPortrait:true, detailView: detailWin, masterView: navWin }); splitWin.open();

Comments

  1. Marco Cancellieri 2013-11-13

    Seems to be fixed in 3.2.x
  2. Shak Hossain 2013-11-21

    Closing it since the reporter informed the issue has been fixed in 3.2 version of the SDK.

JSON Source