focus event not firing when returning to the window
I have a win that calls another secondwin.. when returning to the win, I have a "focus" event that I want to fire.
http://pastebin.com/mhRsrh6z
but its not firing the focus event. any ideas?
4 Answers
-
the problem is ANDROID. and its not in app.js I will put together a working script in a couple of minutes.
-
Vincent
There may well be a bug with this, so I have updated an closed ticket with some simple code to demonstrate the issue. If you and I haven't made some glaring error, and the bug is confirmed, I imagine that a new ticket will need to be raised. In the meantime watch #727 to keep track of it.
Do you think you can work around the issue in some other way? If you need help, I will need to see some code to understand what you are trying to achieve.
Not the answer you probably want, but I hope it is useful to some degree.
-
I put together some demo code illustrating the problem that I am having on ANDROID.
https://gist.github.com/675571I am using the Ti.SDK 1.4.2 ANDROID SDK 2.2 iPhone:4.1
this demo sometimes crashes on iPHONE, as I just tested it.
i hope this helps deal with the issue. -
I put together some demo code illustrating the problem that I am having on ANDROID.
https://gist.github.com/675571I am using the Ti.SDK 1.4.2 ANDROID SDK 2.2 iPhone:4.1
this demo sometimes crashes on iPHONE, as I just tested it.
i hope this helps deal with the issue.