File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
tns-core-modules/ui/proxy-view-container Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
import types = require( "utils/types" ) ;
2
- import { View } from "ui/core/view" ;
2
+ import { View } from "ui/core/view" ;
3
3
import definition = require( "ui/proxy-view-container" ) ;
4
4
import trace = require( "trace" ) ;
5
- import { LayoutBase } from "ui/layouts/layout-base" ;
5
+ import { LayoutBase } from "ui/layouts/layout-base" ;
6
6
/**
7
7
* Proxy view container that adds all its native children directly to the parent.
8
8
* To be used as a logical grouping container of views.
@@ -51,7 +51,9 @@ export class ProxyViewContainer extends LayoutBase implements definition.ProxyVi
51
51
52
52
public _eachLayoutView ( callback : ( View ) => void ) : void {
53
53
this . _eachChildView ( ( cv ) => {
54
- cv . _eachLayoutView ( callback ) ;
54
+ if ( cv . _isVisible ) {
55
+ cv . _eachLayoutView ( callback ) ;
56
+ }
55
57
return true ;
56
58
} ) ;
57
59
}
You can’t perform that action at this time.
0 commit comments