Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Window Animation Bug?

I have a window opening like the following:

var infopage = Titanium.UI.createWindow({  
    url:'/infopage/index.js',
});
infopage.open({modal:true,
modalTransitionStyle:Ti.UI.iPhone.MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL,
modalStyle:Ti.UI.iPhone.MODAL_PRESENTATION_FULLSCREEN,navBarHidden:true});

I want it to flip, but instead it is animating from bottom to top.

I have a feeling it has something to do with specifying the url for the view.

— asked August 19th 2010 by John Welch
  • animation
  • modal
  • view
2 Comments
  • no matter what transition I set, it always slides from bottom to top. Pretty sure it is a bug

    — commented August 5th 2011 by Ronnie Swietek
  • well adding the property to the open method seems to work. I guess you can't define it in the createWindow method. The API says differently.

    — commented August 5th 2011 by Ronnie Swietek

2 Answers

  • Well it looks like really I should be opening a tab with the window. Is there a way to set the way the tab bar window opens?

    — answered August 19th 2010 by John Welch
    permalink
    0 Comments
  • Modal views don't seem to work properly when using sub-contexts.

    — answered August 22nd 2010 by Rory Gilchrist
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.