Title: Angular 9,10 NSRouterLinkActive does not set CSS class · Issue #2224 · NativeScript/nativescript-angular · GitHub
Open Graph Title: Angular 9,10 NSRouterLinkActive does not set CSS class · Issue #2224 · NativeScript/nativescript-angular
X Title: Angular 9,10 NSRouterLinkActive does not set CSS class · Issue #2224 · NativeScript/nativescript-angular
Description: After upgrading Angular from 8 to 10, nsRouterLinkActive directive stopped adding CSS class on element. Seems like the reason is in this this.renderer.setStyle(should be this.renderer.addClass) call here nativescript-angular/nativescript...
Open Graph Description: After upgrading Angular from 8 to 10, nsRouterLinkActive directive stopped adding CSS class on element. Seems like the reason is in this this.renderer.setStyle(should be this.renderer.addClass) cal...
X Description: After upgrading Angular from 8 to 10, nsRouterLinkActive directive stopped adding CSS class on element. Seems like the reason is in this this.renderer.setStyle(should be this.renderer.addClass) cal...
Opengraph URL: https://github.com/NativeScript/nativescript-angular/issues/2224
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Angular 9,10 NSRouterLinkActive does not set CSS class","articleBody":"After upgrading Angular from 8 to 10, `nsRouterLinkActive` directive stopped adding CSS class on element. Seems like the reason is in this `this.renderer.setStyle`(should be `this.renderer.addClass`) call here\r\n\r\nhttps://github.com/NativeScript/nativescript-angular/blob/51bd639ab044fefff6b4f6735d2f9d20a012c156/nativescript-angular/router/ns-router-link-active.ts#L107","author":{"url":"https://github.com/denlysenko","@type":"Person","name":"denlysenko"},"datePublished":"2020-08-18T17:24:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/2224/nativescript-angular/issues/2224"}
| 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:ceba5636-a7e9-6d1f-78a1-c29ff612bf0b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D442:2F5E76:B53DF5:ED20B1:696B20ED |
| html-safe-nonce | 3bd2f1ccdd3196baf1d053c168a90a6d82606c8fcec14eaca1c7c989d2fb743d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDQyOjJGNUU3NjpCNTNERjU6RUQyMEIxOjY5NkIyMEVEIiwidmlzaXRvcl9pZCI6IjQyMzM1NTc2OTY0NTY2MzA1MDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1df37f6cf29705009bb7f0fed3c7b40d4923d41a51356966a1d239a9932cb67c |
| hovercard-subject-tag | issue:681208207 |
| 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-angular/2224/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e21e8dd0f414a016a860045c3abb1a88714c7df4269c51c3db399693e93aca78/NativeScript/nativescript-angular/issues/2224 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e21e8dd0f414a016a860045c3abb1a88714c7df4269c51c3db399693e93aca78/NativeScript/nativescript-angular/issues/2224 |
| og:image:alt | After upgrading Angular from 8 to 10, nsRouterLinkActive directive stopped adding CSS class on element. Seems like the reason is in this this.renderer.setStyle(should be this.renderer.addClass) cal... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | denlysenko |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/nativescript-angular git https://github.com/NativeScript/nativescript-angular.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 35951404 |
| octolytics-dimension-repository_nwo | NativeScript/nativescript-angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 35951404 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/nativescript-angular |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width