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 {
892
892
let parent = tabView && tabView . parent ;
893
893
894
894
// Handle Angular scenario where TabView is in a ProxyViewContainer
895
+ // It is possible to wrap components in ProxyViewContainers indefinitely
895
896
// Not using instanceof ProxyViewContainer to avoid circular dependency
896
897
// TODO: Try moving UILayoutViewController out of view module
897
- if ( parent && ! parent . nativeViewProtected ) {
898
+ while ( parent && ! parent . nativeViewProtected ) {
898
899
parent = parent . parent ;
899
900
}
900
901
Original file line number Diff line number Diff line change @@ -227,9 +227,10 @@ class UIViewControllerImpl extends UIViewController {
227
227
let frameParent = frame && frame . parent ;
228
228
229
229
// Handle Angular scenario where TabView is in a ProxyViewContainer
230
+ // It is possible to wrap components in ProxyViewContainers indefinitely
230
231
// Not using instanceof ProxyViewContainer to avoid circular dependency
231
232
// TODO: Try moving UIViewControllerImpl out of page module
232
- if ( frameParent && ! frameParent . nativeViewProtected ) {
233
+ while ( frameParent && ! frameParent . nativeViewProtected ) {
233
234
frameParent = frameParent . parent ;
234
235
}
235
236
You can’t perform that action at this time.
0 commit comments