-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
bugiosneeds triageThis issue hasn't been reviewed by maintainersThis issue hasn't been reviewed by maintainers
Description
I have searched and made sure there are no existing issues for the issue I am filing
- I have searched the existing issues
Description
navigationWindow.openWindow(window) - doesn't show new window if navigationWindow was opened in another NavigationWindow's.
Expected Behavior
Window opened in nested navigation stack was opened (displayed on the screen).
Actual behavior
Window opened in nested navigation stack was not displayed on the screen.
Reproducible sample
const nestedNavWin = Ti.UI.createNavigationWindow({
window: Ti.UI.createWindow({ backgroundColor: "yellow" })
});
const mainNavWin = Ti.UI.createNavigationWindow({
window: Ti.UI.createWindow()
// but if pass `nestedNavWin` as window in creation time it works
// window: nestedNavWin
});
mainNavWin.open();
// open nested navigation
_.delay(() => {
mainNavWin.openWindow(nestedNavWin);
}, 1000);
// window opened by nested navigation doesn't show
_.delay(() => {
console.log("Must open red window");
nestedNavWin.openWindow(Ti.UI.createWindow({ backgroundColor: "red" }));
}, 3000);Steps to reproduce
One NavigationWindow opens another NavigationWindow (using openWindow() method).
Nested NavigationWindow tries to open one more window in stack.
Platform
iOS
SDK version you are using
12
Alloy version you are using
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugiosneeds triageThis issue hasn't been reviewed by maintainersThis issue hasn't been reviewed by maintainers