Title: Property of hidden does not work in ProxyViewContainer · Issue #10912 · NativeScript/NativeScript · GitHub
Open Graph Title: Property of hidden does not work in ProxyViewContainer · Issue #10912 · NativeScript/NativeScript
X Title: Property of hidden does not work in ProxyViewContainer · Issue #10912 · NativeScript/NativeScript
Description: Issue Description When I set ProxyViewContainer.hidden = true, content of the container still shown. Expected behavior: When I set ProxyViewContainer.hidden = true, the content should be hidden. Reproduction import { Application, Label, ...
Open Graph Description: Issue Description When I set ProxyViewContainer.hidden = true, content of the container still shown. Expected behavior: When I set ProxyViewContainer.hidden = true, the content should be hidden. Re...
X Description: Issue Description When I set ProxyViewContainer.hidden = true, content of the container still shown. Expected behavior: When I set ProxyViewContainer.hidden = true, the content should be hidden. Re...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/10912
X: @github
Domain: redirect.github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Property of hidden does not work in ProxyViewContainer","articleBody":"### Issue Description\n\nWhen I set `ProxyViewContainer.hidden = true`, content of the container still shown.\n\nExpected behavior:\n\nWhen I set `ProxyViewContainer.hidden = true`, the content should be hidden.\n\n### Reproduction\n\n```ts\nimport { Application, Label, ProxyViewContainer, RootLayout } from '@nativescript/core'\n\nApplication.run({\n create: () =\u003e {\n const root = new RootLayout()\n const fragment = new ProxyViewContainer()\n const label1 = new Label()\n const label2 = new Label()\n\n label1.text = 'Label 1'\n label2.text = 'Label 2'\n\n fragment.addChild(label1)\n fragment.addChild(label2)\n fragment.hidden = true\n\n root.addChild(fragment)\n return root\n },\n})\n```\n\n### Relevant log output (if applicable)\n\n```shell\n\n```\n\n### Environment\n\n\u003c!-- COPY START --\u003e\n```yaml\nOS: macOS 26.0.1\nCPU: (8) arm64 Apple M1\nShell: /bin/zsh\nnode: 22.21.0\nnpm: 10.9.4\nnativescript: 8.9.3\n\n# android\njava: Not Found\nndk: Not Found\napis: Not Found\nbuild_tools: Not Found\nsystem_images: Not Found\n\n# ios\nxcode: 26.0.1/17A400\ncocoapods: 1.16.2\npython: Not Found\npython3: 3.11.5\nruby: 3.4.7\nplatforms: \n - DriverKit 25.0\n - iOS 26.0\n - macOS 26.0\n - tvOS 26.0\n - visionOS 26.0\n - watchOS 26.0\n```\n\n### Dependencies\n\n```json\n\"dependencies\": {\n \"@innet/jsx\": \"^2.0.0-rc.1\",\n \"@innet/utils\": \"^2.0.0-alpha.1\",\n \"@nativescript/core\": \"~8.9.0\",\n \"@nativescript/theme\": \"^3.1.0\",\n \"innet\": \"^2.0.0-alpha.3\",\n \"watch-state\": \"^3.5.0-alpha.3\"\n},\n\"devDependencies\": {\n \"@nativescript/ios\": \"8.9.5\",\n \"@nativescript/types\": \"~8.9.1\",\n \"@nativescript/webpack\": \"~5.0.0\",\n \"@typescript-eslint/eslint-plugin\": \"^5.60.0\",\n \"@typescript-eslint/parser\": \"^5.60.0\",\n \"eslint\": \"^8.43.0\",\n \"eslint-config-standard\": \"^17.1.0\",\n \"eslint-config-standard-jsx\": \"^11.0.0\",\n \"eslint-config-standard-with-typescript\": \"^35.0.0\",\n \"eslint-plugin-import\": \"^2.27.5\",\n \"eslint-plugin-n\": \"^15.7.0\",\n \"eslint-plugin-promise\": \"^6.1.1\",\n \"eslint-plugin-simple-import-sort\": \"^10.0.0\",\n \"eslint-plugin-unused-imports\": \"^4.1.4\",\n \"ts-loader\": \"^9.5.4\",\n \"typescript\": \"~5.4.0\"\n}\n```\n\u003c!-- COPY END --\u003e\n\n### Please accept these terms\n\n- [x] I have searched the [existing issues](https://github.com/NativeScript/NativeScript/issues) as well as [StackOverflow](https://stackoverflow.com/questions/tagged/nativescript) and this has not been posted before\n- [x] This is a bug report\n- [x] I agree to follow this project's [Code of Conduct](https://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#coc)","author":{"url":"https://github.com/d8corp","@type":"Person","name":"d8corp"},"datePublished":"2025-11-01T13:28:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/10912/NativeScript/issues/10912"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bbbee8c1-057a-4c54-c3e6-612854f85903 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EA8E:12343F:13B50F8:1A4F530:696AD7C5 |
| html-safe-nonce | 7fea417ed4f6f6ab56b4070994d4533f2aa928bf6e561d823a68f3b2ef8ef099 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQThFOjEyMzQzRjoxM0I1MEY4OjFBNEY1MzA6Njk2QUQ3QzUiLCJ2aXNpdG9yX2lkIjoiMjY4NTUwMDM2ODg0ODg2OTMxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c524fc8b5002d4334b4f6b8ed5d1fdd689a3acb936dc4bd1546b088d1a36b7d7 |
| hovercard-subject-tag | issue:3578011679 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/NativeScript/10912/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0d5b5f4abd39f0344d89a3673975d6375e34df117fc4dcd8363fa6f0143a888c/NativeScript/NativeScript/issues/10912 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0d5b5f4abd39f0344d89a3673975d6375e34df117fc4dcd8363fa6f0143a888c/NativeScript/NativeScript/issues/10912 |
| og:image:alt | Issue Description When I set ProxyViewContainer.hidden = true, content of the container still shown. Expected behavior: When I set ProxyViewContainer.hidden = true, the content should be hidden. Re... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | d8corp |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 31492490 |
| octolytics-dimension-repository_nwo | NativeScript/NativeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31492490 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/NativeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 524a93f2c1f36522a3b4be4c110467ee4172245d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width