Title: [BottomNavigation]: crash when navigating without transition animation · Issue #7481 · NativeScript/NativeScript · GitHub
Open Graph Title: [BottomNavigation]: crash when navigating without transition animation · Issue #7481 · NativeScript/NativeScript
X Title: [BottomNavigation]: crash when navigating without transition animation · Issue #7481 · NativeScript/NativeScript
Description: Environment CLI: rc Cross-platform modules: rc Android Runtime: rc Describe the bug App crashes in a scenario with frame -> bottom navigation -> frame (nested fragments) after you navigate forward from the root level frame and try to go ...
Open Graph Description: Environment CLI: rc Cross-platform modules: rc Android Runtime: rc Describe the bug App crashes in a scenario with frame -> bottom navigation -> frame (nested fragments) after you navigate forward ...
X Description: Environment CLI: rc Cross-platform modules: rc Android Runtime: rc Describe the bug App crashes in a scenario with frame -> bottom navigation -> frame (nested fragments) after you navigate fo...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/7481
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BottomNavigation]: crash when navigating without transition animation","articleBody":"**Environment**\r\n - CLI: rc\r\n - Cross-platform modules: rc\r\n - Android Runtime: rc\r\n\r\n**Describe the bug**\r\nApp crashes in a scenario with frame -\u003e bottom navigation -\u003e frame (nested fragments) after you navigate forward from the root level frame and try to go back. Note the error occurs only if navigation is performed with animated=false (no transition).\r\n\r\n**To Reproduce**\r\nUsing `e2e/nested-frame-navigation`: \r\n1. Go to _Page w/ BOTTOM NAVIGATION_\r\n2. _Navigate to some page (no transition)_\r\n3. Go back -- app crashes with the following exception:\r\n```\r\nAn uncaught Exception occurred on \"main\" thread.\r\nThe specified child already has a parent. You must call removeView() on the child's parent first.\r\njava.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.\r\n```\r\n\r\n**Expected behavior**\r\nApp should not crash.\r\n\r\n**Additional context**\r\nThe same problem would occur if you tried to use three levels of Frame nesting because BottomNavigation behaves essentially as a Frame with respect to Android fragment lifecycle.\r\n","author":{"url":"https://github.com/ADjenkov","@type":"Person","name":"ADjenkov"},"datePublished":"2019-07-09T11:15:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/7481/NativeScript/issues/7481"}
| 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:db853ff4-f7df-ea43-ab11-622283e6bacf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 841C:881FC:5A9609:78F5D2:69730F0E |
| html-safe-nonce | 40158be96de04c4a04e45dc85fb8d5e40db3d82d78e777c35d9150f24c4a1060 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDFDOjg4MUZDOjVBOTYwOTo3OEY1RDI6Njk3MzBGMEUiLCJ2aXNpdG9yX2lkIjoiMTk5OTYwODI2OTM2NTI1MTg1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b8ce3c4d21c5268887564133f1e0abe8c6c4e5e69e988cef308e4b2a97b208d3 |
| hovercard-subject-tag | issue:465721609 |
| 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/7481/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bb737f5c39491e0ab9e3a8da46dd88762aebed3c3f79a0e4710240563e758f00/NativeScript/NativeScript/issues/7481 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bb737f5c39491e0ab9e3a8da46dd88762aebed3c3f79a0e4710240563e758f00/NativeScript/NativeScript/issues/7481 |
| og:image:alt | Environment CLI: rc Cross-platform modules: rc Android Runtime: rc Describe the bug App crashes in a scenario with frame -> bottom navigation -> frame (nested fragments) after you navigate forward ... |
| 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 | 44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4 |
| 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 | a5e2b48bd1260476599758f5d253b5d24092ab84 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width