Title: Changing rootView className replaces all platform classes · Issue #7709 · NativeScript/NativeScript · GitHub
Open Graph Title: Changing rootView className replaces all platform classes · Issue #7709 · NativeScript/NativeScript
X Title: Changing rootView className replaces all platform classes · Issue #7709 · NativeScript/NativeScript
Description: Environment Cross-platform modules: 6.1.0-next-2019-08-21-142040-01 Describe the bug Since all changes to platform classes in #7606 are done through cssClasses property, they are not reflected in className property, thus changing classNa...
Open Graph Description: Environment Cross-platform modules: 6.1.0-next-2019-08-21-142040-01 Describe the bug Since all changes to platform classes in #7606 are done through cssClasses property, they are not reflected in c...
X Description: Environment Cross-platform modules: 6.1.0-next-2019-08-21-142040-01 Describe the bug Since all changes to platform classes in #7606 are done through cssClasses property, they are not reflected in c...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/7709
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Changing rootView className replaces all platform classes","articleBody":"**Environment**\r\n - Cross-platform modules: 6.1.0-next-2019-08-21-142040-01\r\n \r\n**Describe the bug**\r\nSince all changes to platform classes in #7606 are done through cssClasses property, they are not reflected in className property, thus changing className will overwrite them.\r\n\r\n**To Reproduce**\r\nChange root view className after running the app.\r\n\r\n**Expected behavior**\r\nCSS classes should be added both in cssClasses and className properties.","author":{"url":"https://github.com/bundyo","@type":"Person","name":"bundyo"},"datePublished":"2019-08-21T14:04:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/7709/NativeScript/issues/7709"}
| 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:cae4506c-470e-9000-92be-92632c3f825e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C80C:1AD267:862D38:BE1426:69724F2F |
| html-safe-nonce | 0ca07967f7a18825bbe7df9e06fccf80d21fc8535bcdbcb54642ae4bc7065951 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODBDOjFBRDI2Nzo4NjJEMzg6QkUxNDI2OjY5NzI0RjJGIiwidmlzaXRvcl9pZCI6Ijc4MDM5NzYwNjU1OTUxMDA5NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9cdd1517f3ae0477091af55ca772a3205bf8e453f6a5b65bff43ff49ac60284f |
| hovercard-subject-tag | issue:483442430 |
| 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/7709/issue_layout |
| twitter:image | https://opengraph.githubassets.com/132e2a37a9610be5dcce9eae23da658d3d89efef53758f8cfd8069475710e9cf/NativeScript/NativeScript/issues/7709 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/132e2a37a9610be5dcce9eae23da658d3d89efef53758f8cfd8069475710e9cf/NativeScript/NativeScript/issues/7709 |
| og:image:alt | Environment Cross-platform modules: 6.1.0-next-2019-08-21-142040-01 Describe the bug Since all changes to platform classes in #7606 are done through cssClasses property, they are not reflected in c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bundyo |
| hostname | github.com |
| expected-hostname | github.com |
| None | f6d9b08324bb62b2cf170b9e435da2bdc7efa5aa93e7ca70ee3162552c05329b |
| 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 | 169d2b5c72bff9cc676084f0ac7f8ea888f15f54 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width