krawaller / kranium

Brains for Titanium
http://www.kraniumjs.com
Other
103 stars 13 forks source link

Android's Back Button functionality broken in Kranium #18

Closed nvdnkpr closed 12 years ago

nvdnkpr commented 12 years ago

Hello Jacob,

I just tried to open two windows sequentially (mean I opened a Window 1 and in that Window 1 pushed a button to open up Window 2)

The application jumps back but the Structure and Rendering of Window 1 (with the Button) is lost

How can I open up windows in Kranium preserving the previous window

nvdnkpr commented 12 years ago

Solved it, was a Android Bug in Titanium.

You need to assign this.navBarHidden = this.navBarHidden || false; to the Window which actually makes it to an Android Activity and therefore a "point" to jump back to. The change doesn't affect the iPhone.