Title: Using default setting for all transitions crashes with TabView and Side Drawer · Issue #6810 · NativeScript/NativeScript · GitHub
Open Graph Title: Using default setting for all transitions crashes with TabView and Side Drawer · Issue #6810 · NativeScript/NativeScript
X Title: Using default setting for all transitions crashes with TabView and Side Drawer · Issue #6810 · NativeScript/NativeScript
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): nativescript. Your current version is 5.1.0 tns-...
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): nativesc...
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): nativesc...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/6810
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Using default setting for all transitions crashes with TabView and Side Drawer","articleBody":"**Environment**\r\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):\r\nnativescript. Your current version is 5.1.0\r\ntns-core-modules. Your current version is 5.1.1\r\ntns-android has 5.1.0 version \r\ncomponent tns-ios. Your current version is 5.1.0\r\n\r\n**Describe the bug**\r\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\r\nI'm using the Telerik Sidebar component `nativescript-ui-sidedrawer` together with another view that has a TabView Component.\r\nAlso I'm setting the default transition to `Frame.defaultTransition = { name: \"fade\" };`\r\nWithout the TabView navigating back to a home component works as expected.\r\nWhen I add the TabView inside the page and try to navigate back to the home view it crashes with:\r\n\r\n```\r\nAn uncaught Exception occurred on \"main\" thread.\r\nandroid.content.res.Resources$NotFoundException: Unable to find resource ID #0xffffffec\r\n\tat android.content.res.ResourcesImpl.getResourceTypeName(ResourcesImpl.java:249)\r\n\tat android.content.res.Resources.getResourceTypeName(Resources.java:1964)\r\n\tat android.support.v4.app.FragmentManagerImpl.loadAnimation(FragmentManager.java:1172)\r\n\tat android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1543)\r\n\tat android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1784)\r\n\tat android.support.v4.app.BackStackRecord.executeOps(BackStackRecord.java:797)\r\n\tat android.support.v4.app.FragmentManagerImpl.executeOps(FragmentManager.java:2625)\r\n\tat android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2411)\r\n\tat android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2366)\r\n\tat android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2273)\r\n\tat android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:733)\r\n\tat android.os.Handler.handleCallback(Handler.java:789)\r\n\tat android.os.Handler.dispatchMessage(Handler.java:98)\r\n\tat android.os.Looper.loop(Looper.java:164)\r\n\tat android.app.ActivityThread.main(ActivityThread.java:6541)\r\n\tat java.lang.reflect.Method.invoke(Native Method)\r\n\tat com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)\r\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)\r\n\r\n```\r\n\r\nFrom reading through other bug reports this is caused by __interfering transitions__ that subtract some static Nativescript identifiers or thelike.\r\n\r\n__In that case I guess the side drawer is trying to slide to the left with an animation while the navigation is trying to transition to the home view with a fade animation.__\r\n\r\nIf I remove the default transition code it works again.\r\n","author":{"url":"https://github.com/stefan-kolb","@type":"Person","name":"stefan-kolb"},"datePublished":"2019-01-21T14:16:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/6810/NativeScript/issues/6810"}
| 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:1bcd183b-27cc-28de-a04e-1cc840e605e9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 88EA:1F28E1:D48DF4:128FF48:6978BCC1 |
| html-safe-nonce | cc6d7b0b19fedea580976d8417da29a7535b6d7bfe07c8f0d0fbaf2f0c375407 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEVBOjFGMjhFMTpENDhERjQ6MTI4RkY0ODo2OTc4QkNDMSIsInZpc2l0b3JfaWQiOiI4NzY5Njc2NDU4MjU2Mjg0ODY1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cb6322d99c1a399a5b2dc7428f8fcf3e05c7002dc3e0c717c70e7e3fb0dab685 |
| hovercard-subject-tag | issue:401372813 |
| 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/6810/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b7afda1e093221141521f3c336afabdd35c88c85c234e3451f85eaea359407d3/NativeScript/NativeScript/issues/6810 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b7afda1e093221141521f3c336afabdd35c88c85c234e3451f85eaea359407d3/NativeScript/NativeScript/issues/6810 |
| 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): nativesc... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | stefan-kolb |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50 |
| 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 | 9520342ca7ead2f1a011aa96eaff82fc054a4970 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width