Title: BottomNavigation and Tabs binding issues · Issue #7455 · NativeScript/NativeScript · GitHub
Open Graph Title: BottomNavigation and Tabs binding issues · Issue #7455 · NativeScript/NativeScript
X Title: BottomNavigation and Tabs binding issues · Issue #7455 · NativeScript/NativeScript
Description: [BottomNavigation] Using binding for
Open Graph Description: [BottomNavigation] Using binding for
X Description: [BottomNavigation] Using binding for<TabStrip items> creates empty TabStripBar (no tabs visible). Using ui-tests-app binding examples Developer Note1: We create TabStripItems, when iterating ...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/7455
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"BottomNavigation and Tabs binding issues","articleBody":"[__BottomNavigation__] Using binding for`\u003cTabStrip items\u003e` creates empty TabStripBar (no tabs visible). Using ui-tests-app binding [examples](https://github.com/NativeScript/NativeScript/blob/release/e2e/ui-tests-app/app/bottom-navigation/binding-page.xml)\r\n\r\nDeveloper Note1: We create TabStripItems, when iterating over tabStripContent items (`setViewControllers() method)` , while there is no tabStrip.items property set yet.\r\n\r\nDeveloper Note2: BottomNavigation control should be somehow notified when its inner TabStrip.items has changed\r\n\r\n_Question: missing `tabStripProperty` same as the adnroid bottomNavigation?_\r\n\r\n[__Tabs__] Using binding for`\u003cTabStrip items\u003e` crashes the app with `file:///app/Users/djenkov/Work/NativeScriptTab/NativeScript/tns-core-modules/ui/tabs/tabs.ts:846:14 JS ERROR TypeError: undefined is not an object (evaluating 'items.forEach')` .Using ui-tests-app binding [examples](https://github.com/NativeScript/NativeScript/blob/release/e2e/ui-tests-app/app/tabs/tabs-binding-page.xml)\r\n\r\n\u003cbountysource-plugin\u003e\r\n\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/76513076-bottomnavigation-and-tabs-binding-issues?utm_campaign=plugin\u0026utm_content=tracker%2F12908224\u0026utm_medium=issues\u0026utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin\u0026utm_content=tracker%2F12908224\u0026utm_medium=issues\u0026utm_source=github).\r\n\u003c/bountysource-plugin\u003e","author":{"url":"https://github.com/ADjenkov","@type":"Person","name":"ADjenkov"},"datePublished":"2019-07-03T12:30:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/7455/NativeScript/issues/7455"}
| 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:0aeaf2bd-15ad-6ee6-a5d6-43f8c085c3ab |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E962:331656:1CC09F:261243:6972F236 |
| html-safe-nonce | 8b4dd44a46fddcd049b77819f8fe20a0aedca8c3787fa8f635808b7afa7790c8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTYyOjMzMTY1NjoxQ0MwOUY6MjYxMjQzOjY5NzJGMjM2IiwidmlzaXRvcl9pZCI6IjIwMDUzOTA1MTk0MTEzMzk4MzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fc033531d698e93655ed4517f16e0902c59928592bd4f2dbc08e9f57917f044b |
| hovercard-subject-tag | issue:463725467 |
| 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/7455/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0760fd012a05b3a2b139bc5e64ff37f388ce8390974e99f5bff42c7774d9189c/NativeScript/NativeScript/issues/7455 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0760fd012a05b3a2b139bc5e64ff37f388ce8390974e99f5bff42c7774d9189c/NativeScript/NativeScript/issues/7455 |
| og:image:alt | [BottomNavigation] Using binding for |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ADjenkov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 25ef7e923c492d9047af899b2ba66bfcb0a78059369630f2ce2cf57826ed6a53 |
| 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 | c0badd0db61d89a34653af2d762b2eb8c84f9d59 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width