Title: ChangeDetectorRef.detectChanges() doesn't work on detached instance · Issue #13426 · angular/angular · GitHub
Open Graph Title: ChangeDetectorRef.detectChanges() doesn't work on detached instance · Issue #13426 · angular/angular
X Title: ChangeDetectorRef.detectChanges() doesn't work on detached instance · Issue #13426 · angular/angular
Description: Current behavior Calling detectChanges() on a detached ChangeDetectorRef instance has no effect in version 2.2+ Expected behavior According to the documentation detectChanges() should force a change detection cycle even on detached chang...
Open Graph Description: Current behavior Calling detectChanges() on a detached ChangeDetectorRef instance has no effect in version 2.2+ Expected behavior According to the documentation detectChanges() should force a chang...
X Description: Current behavior Calling detectChanges() on a detached ChangeDetectorRef instance has no effect in version 2.2+ Expected behavior According to the documentation detectChanges() should force a chang...
Opengraph URL: https://github.com/angular/angular/issues/13426
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ChangeDetectorRef.detectChanges() doesn't work on detached instance","articleBody":"**Current behavior**\r\n\r\nCalling `detectChanges()` on a detached `ChangeDetectorRef` instance has no effect in version 2.2+\r\n\r\n**Expected behavior**\r\n\r\n[According to the documentation](https://angular.io/docs/ts/latest/api/core/index/ChangeDetectorRef-class.html#!#detach-anchor) `detectChanges()` should force a change detection cycle even on detached change detector.\r\n\r\n**Minimal reproduction of the problem with instructions**\r\n\r\nThe documentation example doesn't work with version 2.2 and 2.3 (it does work with 2.1).\r\n\r\nSimple demo with manually incremented counter:\r\n\r\n * [2.1 works](https://plnkr.co/edit/BEoIXH1kiAP7Y3CJLHGf?p=preview)\r\n * [2.2 doesn't work](https://plnkr.co/edit/iMX75SWmM8CLkCOxYdT0?p=preview)\r\n\r\nIs this a regression (maybe from [this commit](https://github.com/angular/angular/commit/e5fdf4c70ace58e5af9c99200bac3195fba530bf#diff-7628e769898d171e83796126a14d6847))? Or it is a change not reflected by the documentation yet?","author":{"url":"https://github.com/hristokostov","@type":"Person","name":"hristokostov"},"datePublished":"2016-12-13T13:37:11Z","url":"https://github.com/angular/angular/issues/13426"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:4f08b3fa-0a63-52a0-578a-687284f74cc5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 97A6:3C21B:15DAC44:1BFE0DB:6B01233A |
| html-safe-nonce | 6ab4b2d759d9b745062b64767d33c763204484eb6e1149dc925a1032fba78a59 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0E2OjNDMjFCOjE1REFDNDQ6MUJGRTBEQjo2QjAxMjMzQSIsInZpc2l0b3JfaWQiOiIzMTU2ODgxODU0NzQ2NTUwMzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2a56ae59ea05214de78d686c0d59b1521dc181bfe5b3eda48758b842959bd5fe |
| hovercard-subject-tag | issue:195254839 |
| 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/angular/angular/13426/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0af5ee3aa710dbc5ae0c41a6fa70bf3454a845d6afb917bcd8e8b81806fdd0f1/angular/angular/issues/13426 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0af5ee3aa710dbc5ae0c41a6fa70bf3454a845d6afb917bcd8e8b81806fdd0f1/angular/angular/issues/13426 |
| og:image:alt | Current behavior Calling detectChanges() on a detached ChangeDetectorRef instance has no effect in version 2.2+ Expected behavior According to the documentation detectChanges() should force a chang... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hristokostov |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width