We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d1904d commit ea99860Copy full SHA for ea99860
packages/core/ui/core/view/index.ios.ts
@@ -774,7 +774,12 @@ export class View extends ViewCommon {
774
return this.nativeViewProtected.hidden;
775
}
776
[hiddenProperty.setNative](value: boolean) {
777
- this.nativeViewProtected.hidden = value;
+ const nativeView: NativeScriptUIView = <NativeScriptUIView>this.nativeViewProtected;
778
+ nativeView.hidden = value;
779
+ // Apply visibility value to shadows as well
780
+ if (nativeView.outerShadowContainerLayer) {
781
+ nativeView.outerShadowContainerLayer.hidden = nativeView.hidden;
782
+ }
783
784
785
[visibilityProperty.getDefault](): CoreTypes.VisibilityType {
0 commit comments