Title: IllegalStateException in a tabview scenario with nested frames · Issue #6490 · NativeScript/NativeScript · GitHub
Open Graph Title: IllegalStateException in a tabview scenario with nested frames · Issue #6490 · NativeScript/NativeScript
X Title: IllegalStateException in a tabview scenario with nested frames · Issue #6490 · NativeScript/NativeScript
Description: Create app with root frame: Default page of the frame should contain a navigation button to a different page and a tabview component whose tab items contain Frames:
X Description: Create app with root frame: <Frame defaultPage="home/tab-page"></Frame> Default page of the frame should contain a navigation button to a different page and a tabview componen...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/6490
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IllegalStateException in a tabview scenario with nested frames","articleBody":"1. Create app with root frame:\r\n``` xml\r\n\u003cFrame defaultPage=\"home/tab-page\"\u003e\u003c/Frame\u003e\r\n```\r\n2. Default page of the frame should contain a navigation button to a different page and a tabview component whose tab items contain Frames:\r\n``` xml\r\n\u003cPage class=\"page\"\r\n xmlns=\"http://schemas.nativescript.org/tns.xsd\"\u003e\r\n\r\n \u003cGridLayout rows=\"auto, *\"\u003e\r\n \u003cButton text=\"navigate to second page\" tap=\"onTap\" /\u003e\r\n \u003cTabView androidTabsPosition=\"bottom\" row=\"1\"\u003e\r\n \u003cTabViewItem title=\"Home\"\u003e\r\n \u003cFrame defaultPage=\"home/home-items-page\"\u003e\u003c/Frame\u003e\r\n \u003c/TabViewItem\u003e\r\n\r\n \u003cTabViewItem title=\"Browse\"\u003e\r\n \u003cFrame defaultPage=\"browse/browse-page\"\u003e\u003c/Frame\u003e\r\n \u003c/TabViewItem\u003e\r\n \u003c/TabView\u003e\r\n \u003c/GridLayout\u003e\r\n\u003c/Page\u003e\r\n```\r\n3. Navigate to second page (via the button) and navigate back to the tabview page (e.g. via hardware button, doesn't matter really)\r\n\r\nThe following exception occurs:\r\n```\r\nSystem.err: Calling js method finishUpdate failed\r\nSystem.err:\r\nSystem.err: Error: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.\r\n```","author":{"url":"https://github.com/manoldonev","@type":"Person","name":"manoldonev"},"datePublished":"2018-11-01T15:54:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/6490/NativeScript/issues/6490"}
| 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:ebf74cfe-6a2c-a81c-f77d-1d4f80a08ab6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AB7A:2893D2:23BC37E:2E5D0A0:6974BF6B |
| html-safe-nonce | 7faa40060d1c3e6e786a89a12fa28f71a15c789ff4ef41c67534966f8022b32e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjdBOjI4OTNEMjoyM0JDMzdFOjJFNUQwQTA6Njk3NEJGNkIiLCJ2aXNpdG9yX2lkIjoiNzM5OTgyNzU3NTg0NjI1NjQ5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7dd831aaa99de7f65e4163fe142787727508e3b2d5853c4786bfae7d64b85f73 |
| hovercard-subject-tag | issue:376453921 |
| 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/6490/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0062b1af28ca03c16e890781401c2a4db82ac7fa03a558e74cde28425b259f94/NativeScript/NativeScript/issues/6490 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0062b1af28ca03c16e890781401c2a4db82ac7fa03a558e74cde28425b259f94/NativeScript/NativeScript/issues/6490 |
| og:image:alt | Create app with root frame: Default page of the frame should contain a navigation button to a different page and a tabview component whose tab items cont... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | manoldonev |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| 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 | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width