| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 25f4b56 commit 19dfd16
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -177,7 +177,7 @@ class UIViewControllerImpl extends UIViewController { | |||
| 177 | 177 | // or because we are closing a modal page, | |
| 178 | 178 | // or because we are in tab and another controller is selected. | |
| 179 | 179 | const tab = this.tabBarController; | |
| 180 | - if (!owner._presentedViewController && !this.presentingViewController && frame && frame.currentPage === owner) { | ||
| 180 | + if (owner.onNavigatingFrom && !owner._presentedViewController && !this.presentingViewController && frame && frame.currentPage === owner) { | ||
| 181 | 181 | const willSelectViewController = tab && (<any>tab)._willSelectViewController; | |
| 182 | 182 | if (!willSelectViewController | |
| 183 | 183 | || willSelectViewController === tab.selectedViewController) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments