Title: [iOS][BottomNavigation][Tabs] Nested Tabs in BottomNavigation wrong layout · Issue #7562 · NativeScript/NativeScript · GitHub
Open Graph Title: [iOS][BottomNavigation][Tabs] Nested Tabs in BottomNavigation wrong layout · Issue #7562 · NativeScript/NativeScript
X Title: [iOS][BottomNavigation][Tabs] Nested Tabs in BottomNavigation wrong layout · Issue #7562 · NativeScript/NativeScript
Description: Environment CLI: 6.0.1 Cross-platform modules: 6.0.1 Android Runtime: 6.0.0 iOS Runtime: 6.0.1 Describe the bug On iOS when nesting Tabs inside BottomNavigation the layout is wrong. The content of the Tabs tab doesn't get to the bottom o...
Open Graph Description: Environment CLI: 6.0.1 Cross-platform modules: 6.0.1 Android Runtime: 6.0.0 iOS Runtime: 6.0.1 Describe the bug On iOS when nesting Tabs inside BottomNavigation the layout is wrong. The content of ...
X Description: Environment CLI: 6.0.1 Cross-platform modules: 6.0.1 Android Runtime: 6.0.0 iOS Runtime: 6.0.1 Describe the bug On iOS when nesting Tabs inside BottomNavigation the layout is wrong. The content of ...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/7562
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[iOS][BottomNavigation][Tabs] Nested Tabs in BottomNavigation wrong layout","articleBody":"**Environment**\r\n - CLI: 6.0.1\r\n - Cross-platform modules: 6.0.1\r\n - Android Runtime: 6.0.0\r\n - iOS Runtime: 6.0.1\r\n\r\n**Describe the bug**\r\nOn iOS when nesting Tabs inside BottomNavigation the layout is wrong. The content of the Tabs tab doesn't get to the bottom of the screen. See the light blue background in the following image:\r\n\r\n\r\n**To Reproduce**\r\nHave the following markup:\r\n```\r\n\u003cBottomNavigation\u003e\r\n \u003cTabStrip\u003e\r\n \u003cTabStripItem title=\"First\"\u003e\u003c/TabStripItem\u003e\r\n \u003cTabStripItem title=\"Second\"\u003e\u003c/TabStripItem\u003e\r\n \u003c/TabStrip\u003e\r\n \r\n \u003cTabContentItem\u003e\r\n \u003cTabs\u003e\r\n \u003cTabStrip backgroundColor=\"palevioletred\"\u003e\r\n \u003cTabStripItem title=\"First\"\u003e\u003c/TabStripItem\u003e\r\n \u003cTabStripItem title=\"Second\"\u003e\u003c/TabStripItem\u003e\r\n \u003c/TabStrip\u003e\r\n \r\n \u003cTabContentItem\u003e\r\n \u003cGridLayout backgroundColor=\"skyblue\"\u003e\r\n \u003cLabel text=\"First View\"/\u003e\r\n \u003c/GridLayout\u003e\r\n \u003c/TabContentItem\u003e\r\n \r\n \u003cTabContentItem\u003e\r\n \u003cGridLayout backgroundColor=\"gold\"\u003e\r\n \u003cLabel text=\"Second View\" /\u003e\r\n \u003c/GridLayout\u003e\r\n \u003c/TabContentItem\u003e\r\n \u003c/Tabs\u003e\r\n \u003c/TabContentItem\u003e\r\n \r\n \u003cTabContentItem\u003e\r\n \u003cGridLayout\u003e\r\n \u003cLabel text=\"Second View\" /\u003e\r\n \u003c/GridLayout\u003e\r\n \u003c/TabContentItem\u003e\r\n \u003c/BottomNavigation\u003e\r\n```\r\n\r\n**Expected behavior**\r\nThe light blue layout should go to bottom and the contents (label) should layout in the safe area between the tabs.\r\n\r\n**Sample project**\r\nVisible in e2e/ui-tests-app -\u003e tabs -\u003e nested-bottom-navigation example\r\n\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/77409716-ios-bottomnavigation-tabs-nested-tabs-in-bottomnavigation-wrong-layout?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/MartoYankov","@type":"Person","name":"MartoYankov"},"datePublished":"2019-07-22T07:34:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/7562/NativeScript/issues/7562"}
| 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:32ef43b0-2735-4f2d-0023-b355918904cd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9052:200DD2:84ADE1:B49DD4:69728715 |
| html-safe-nonce | deab7d654cd6f566ee40ea42fc0cdd20785bab65e7e710dea9b1baf59f286cb8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDUyOjIwMEREMjo4NEFERTE6QjQ5REQ0OjY5NzI4NzE1IiwidmlzaXRvcl9pZCI6IjM1MjEwNzU5NjU1NDQ1MzE3MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 50c9f35bc3dbdb25ed35338cfabafeeb7b5e7ae7e02695d249f7ff02eabda100 |
| hovercard-subject-tag | issue:470939087 |
| 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/7562/issue_layout |
| twitter:image | https://opengraph.githubassets.com/edee06b8249326a8340097994dd495060b7affbd4e4281de916fe4b49528702a/NativeScript/NativeScript/issues/7562 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/edee06b8249326a8340097994dd495060b7affbd4e4281de916fe4b49528702a/NativeScript/NativeScript/issues/7562 |
| og:image:alt | Environment CLI: 6.0.1 Cross-platform modules: 6.0.1 Android Runtime: 6.0.0 iOS Runtime: 6.0.1 Describe the bug On iOS when nesting Tabs inside BottomNavigation the layout is wrong. The content of ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MartoYankov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7631aa5e32c11c73e45f19f2aaeaa7e0305d2ec80414866e8b020f3c2144ccae |
| 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 | 40f44656d2185a364dd710032a2e10ee2f1d7e20 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width