Title: ViewContainerRef strange behavior for createComponent · Issue #8817 · angular/angular · GitHub
Open Graph Title: ViewContainerRef strange behavior for createComponent · Issue #8817 · angular/angular
X Title: ViewContainerRef strange behavior for createComponent · Issue #8817 · angular/angular
Description: I'm submitting a strange behavior for ViewContainerRef.createComponent. [x ] bug report feature request support request => Please do not submit support request here, see note at the top of this template. Current behavior When want to cre...
Open Graph Description: I'm submitting a strange behavior for ViewContainerRef.createComponent. [x ] bug report feature request support request => Please do not submit support request here, see note at the top of this tem...
X Description: I'm submitting a strange behavior for ViewContainerRef.createComponent. [x ] bug report feature request support request => Please do not submit support request here, see note at the top of t...
Opengraph URL: https://github.com/angular/angular/issues/8817
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ViewContainerRef strange behavior for createComponent","articleBody":"- **I'm submitting a strange behavior for ViewContainerRef.createComponent.**\n- [x ] bug report\n- [ ] feature request\n- [ ] support request => Please do not submit support request here, see note at the top of this template.\n\n**Current behavior**\nWhen want to create component in current component container like this component is rendered outside container of current component: this.componentResolver.resolveComponent(SampleComponent).then((factory) => {\n console.log(this.viewContainerRef);\n this.viewContainerRef.createComponent(factory);\n });\n\nResult:\n\n\n**Expected/desired behavior**\nExpect to load new component inside container of current component example in body-bar component\n- **Please tell us about your environment:**\n Project generated with angular cli\n- **Angular version:** 2.0.0-rc1\n- **Browser:** [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ] \n- **Language:** [TypeScript] \n","author":{"url":"https://github.com/zolekm","@type":"Person","name":"zolekm"},"datePublished":"2016-05-24T16:45:04Z","url":"https://github.com/angular/angular/issues/8817"}
| 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:75a8124b-b37f-1298-e516-5c39efa9c26f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 99E8:19AA62:11D5645:16B0582:6B011BE2 |
| html-safe-nonce | 8a12c8211fd445c87c3975073a7717dff94d93dce86ea39cac08e1f30a334d22 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUU4OjE5QUE2MjoxMUQ1NjQ1OjE2QjA1ODI6NkIwMTFCRTIiLCJ2aXNpdG9yX2lkIjoiNTE5NDAzNTg0MjcwMzc2MDM1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fed918a0468027dca34dd6a744aea56d16a5088e1fb2bf0a6b8be95607b92a72 |
| hovercard-subject-tag | issue:156555685 |
| 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/8817/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c6d42354aab98ba9cd322af1b08a804162ac4c9697c10e05533d78bd3741ed32/angular/angular/issues/8817 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c6d42354aab98ba9cd322af1b08a804162ac4c9697c10e05533d78bd3741ed32/angular/angular/issues/8817 |
| og:image:alt | I'm submitting a strange behavior for ViewContainerRef.createComponent. [x ] bug report feature request support request => Please do not submit support request here, see note at the top of this tem... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zolekm |
| 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