Title: TabView not rendering · Issue #147 · NativeScript/angular · GitHub
Open Graph Title: TabView not rendering · Issue #147 · NativeScript/angular
X Title: TabView not rendering · Issue #147 · NativeScript/angular
Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): { "name": "stackblitz-nativescript-angular", "ma...
Open Graph Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): { "name"...
X Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): { "...
Opengraph URL: https://github.com/NativeScript/angular/issues/147
X: @github
Domain: Github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TabView not rendering","articleBody":"**Environment**\nProvide version numbers for the following components (information can be retrieved by running `tns info` in your project folder or by inspecting the `package.json` of the project):\n ```\n{\n \"name\": \"stackblitz-nativescript-angular\",\n \"main\": \"./src/main.ts\",\n \"version\": \"1.0.0\",\n \"private\": true,\n \"dependencies\": {\n \"@angular/animations\": \"~19.0.0\",\n \"@angular/common\": \"~19.0.0\",\n \"@angular/compiler\": \"~19.0.0\",\n \"@angular/core\": \"~19.0.0\",\n \"@angular/forms\": \"~19.0.0\",\n \"@angular/platform-browser\": \"~19.0.0\",\n \"@angular/platform-browser-dynamic\": \"~19.0.0\",\n \"@angular/router\": \"~19.0.0\",\n \"@nativescript/angular\": \"^19.0.0\",\n \"@nativescript/core\": \"~8.8.0\",\n \"rxjs\": \"~7.8.0\",\n \"zone.js\": \"~0.15.0\"\n },\n \"devDependencies\": {\n \"@angular-devkit/build-angular\": \"~19.0.0\",\n \"@angular/compiler-cli\": \"~19.0.0\",\n \"@nativescript/preview-cli\": \"^1.0.14\",\n \"@nativescript/stackblitz\": \"^0.0.8\",\n \"@nativescript/tailwind\": \"^2.1.0\",\n \"@nativescript/types\": \"~8.8.0\",\n \"@nativescript/webpack\": \"~5.0.0\",\n \"@ngtools/webpack\": \"~19.0.0\",\n \"tailwindcss\": \"~3.4.0\",\n \"typescript\": \"~5.6.0\"\n }\n}\n```\n\n \n**Describe the bug**\n\u003c!-- A clear and concise description of what the bug is. Please, explain whether it's a build time error or a runtime error. More detailed logs can be easily obtained by following the instructions in this guide: https://docs.nativescript.org/get-support#how-to-obtain-diagnostic-reports. --\u003e\nAdding TabView UI component doesn't render on the page.\n\n**To Reproduce**\n\u003c!-- Add commands used or steps taken to reproduce the behaviour. --\u003e\nStart new project by following the docs: https://docs.nativescript.org/tutorials/build-a-master-detail-app-with-angular. or use this stackblitz:\nhttps://stackblitz.com/edit/nativescript-stackblitz-templates-t6bujanb?file=src%2Fapp%2Fitem%2Fitems.component.html,src%2Fapp%2Fitem%2Fitems.component.ts,src%2Fapp%2Fapp.routes.ts\u0026title=NativeScript%20Starter%20Angular\n\nModify items.component.html\n```\n\u003cActionBar title=\"My App\"\u003e \u003c/ActionBar\u003e\n\n\u003cGridLayout\u003e\n \u003cTabView\u003e\n \u003cTabViewItem title=\"First\"\u003e\n \u003cLabel\n text=\"First Tab Content\"\n textAlignment=\"center\"\n verticalAlignment=\"center\"\n \u003e\u003c/Label\u003e\n \u003c/TabViewItem\u003e\n \u003cTabViewItem title=\"Second\"\u003e\n \u003cLabel\n text=\"Second Tab Content\"\n textAlignment=\"center\"\n verticalAlignment=\"center\"\n \u003e\u003c/Label\u003e\n \u003c/TabViewItem\u003e\n \u003cTabViewItem title=\"Third\"\u003e\n \u003cLabel\n text=\"Third Tab Content\"\n textAlignment=\"center\"\n verticalAlignment=\"center\"\n \u003e\u003c/Label\u003e\n \u003c/TabViewItem\u003e\n \u003c/TabView\u003e\n\u003c/GridLayout\u003e\n```\n\n**Expected behavior**\n Tab views to load like the bellow:\n\n\u003cimg width=\"1167\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/642e0274-2be5-4e1a-96c7-b31a18a09903\" /\u003e\n\n**Sample project**\n\u003c!-- If possible, provide a link from the [Playground](https://play.nativescript.org) with reproduction of the problem. If not, consider attaching a sample project or link to a repository with such project. --\u003e\n\n**Additional context**\n\u003c!-- Add any other context about the problem here. --\u003e\n","author":{"url":"https://github.com/lano-vargas","@type":"Person","name":"lano-vargas"},"datePublished":"2025-01-28T11:15:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/147/angular/issues/147"}
| 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:8b0653af-da86-339a-da68-273f7604604e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AA02:17500B:3672CC:4F2300:6A636C86 |
| html-safe-nonce | bc0b33f9984c62b2847020b5692843738ede46a4af04d40db4be29822067c098 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTAyOjE3NTAwQjozNjcyQ0M6NEYyMzAwOjZBNjM2Qzg2IiwidmlzaXRvcl9pZCI6IjM0NDQ1ODAyOTU5MTYwODg0NTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6868e54f2d648631ff9c6302dc457e6e778972e3e9f1ea5e0f24fa676deb40d1 |
| hovercard-subject-tag | issue:2815334354 |
| 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/angular/147/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dd33456ca7ca8945e37c7672aea30f4339884c68787e74ec3d910cdebce09bb4/NativeScript/angular/issues/147 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dd33456ca7ca8945e37c7672aea30f4339884c68787e74ec3d910cdebce09bb4/NativeScript/angular/issues/147 |
| og:image:alt | Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): { "name"... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lano-vargas |
| hostname | github.com |
| expected-hostname | github.com |
| None | e7b5617850fbcd6d10fe2b7c56398444bccb5f3a58a4a18c6d363971295bcd03 |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/angular git https://github.com/NativeScript/angular.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 302428305 |
| octolytics-dimension-repository_nwo | NativeScript/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 302428305 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/angular |
| 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 | aa341b3f432dc63fa9633042725aec601722a352 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width