I got a simple modal window that opens like so.
_mapWindow.open({modal: true, modalTransitionStyle: Ti.UI.iPhone.MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL});The window is built like so:
var _self = Ti.UI.createWindow({ title: 'Map', rightNavButton: createListButton(), leftNavButton: createZoomButton(), backgroundImage: 'img/mainbg.png', modal: true, barColor: '#003366' });The reason the variable names are different is because the window is built in a function and returned as the _mapWindow object.
The issue is when the event gets fired that flips the window, the "back" (the map) becomes visible and then it flips over... revealing the map still. When I hit what amounts to as the back button on the map window, the transition flips back to the front, but it does it correctly. That is, the front of the card (which is now on the back) is only visible after it's flipped more than half-way, is that makes sense.
Why would this transition work incorrectly during the "opening" of the window and incorrectly during the "closing" of the window. It does the same thing on both iPhone and iPad. Is this a known bug with the flip style transition for modal windows?
I hate this damn forum because you can't find anything useful so I don't know if others have the same issue. It would be nice of the Ti people removed questions and crap from really old versions to clean this up some.
1 Answer
I was hoping this might be different in 2.1.3 but it is the same. Does anyone else use the modal flip transition, and if so, does it work to your liking?
Your Answer
Think you can help? Login to answer this question!