Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3339] On focus window function executed twice in android once in iPhone.

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionDuplicate
Resolution Date2012-08-14T19:44:19.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterFotis Spatharakis
AssigneeNeeraj Gupta
Created2011-04-15T03:42:30.000+0000
Updated2017-03-09T21:30:10.000+0000

Description

I have the following code in my app:

win.addEventListener('focus', function(e){
    doSomething();
});

function doSomething(){
    alert('adasdasd');
}

The alert in android is shown twice while in iPhone once only (as I expect, I don't know which of them is correct).

Comments

  1. Shannon Hicks 2012-08-14

    This is probably a dupe of TIMOB-6816 and should be closed.
  2. Lee Morris 2017-03-09

    Closing ticket as duplicate.

JSON Source