File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -892,9 +892,10 @@ export namespace ios {
892892 let parent = tabView && tabView . parent ;
893893
894894 // Handle Angular scenario where TabView is in a ProxyViewContainer
895+ // It is possible to wrap components in ProxyViewContainers indefinitely
895896 // Not using instanceof ProxyViewContainer to avoid circular dependency
896897 // TODO: Try moving UILayoutViewController out of view module
897- if ( parent && ! parent . nativeViewProtected ) {
898+ while ( parent && ! parent . nativeViewProtected ) {
898899 parent = parent . parent ;
899900 }
900901
Original file line number Diff line number Diff line change @@ -227,9 +227,10 @@ class UIViewControllerImpl extends UIViewController {
227227 let frameParent = frame && frame . parent ;
228228
229229 // Handle Angular scenario where TabView is in a ProxyViewContainer
230+ // It is possible to wrap components in ProxyViewContainers indefinitely
230231 // Not using instanceof ProxyViewContainer to avoid circular dependency
231232 // TODO: Try moving UIViewControllerImpl out of page module
232- if ( frameParent && ! frameParent . nativeViewProtected ) {
233+ while ( frameParent && ! frameParent . nativeViewProtected ) {
233234 frameParent = frameParent . parent ;
234235 }
235236
You can’t perform that action at this time.
0 commit comments