| 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 | /:user_id/:repository/pull/*id(.:format) |
| route-controller | pull_requests |
| route-action | show |
| fetch-nonce | v2:8c582839-f1c5-6ca0-d6ea-395dad7e150d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E162:3CBB3E:42E8E1:54B629:6B010A2F |
| html-safe-nonce | 8f7cf5ee04e200bd3174003af13e5b49d0d354810127c7d0f0bb7d0dee05f90d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTYyOjNDQkIzRTo0MkU4RTE6NTRCNjI5OjZCMDEwQTJGIiwidmlzaXRvcl9pZCI6Ijc2MDQ5ODYyNTI2MzUwMzkxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7804a7935c0a01f0d738212d44173f94ee96d9b1050f9a92398dd2897c2fd8ce |
| hovercard-subject-tag | pull_request:3739379906 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/angular/angular/pull/68910 |
| twitter:image | https://opengraph.githubassets.com/f6466c18a8a23d3e91b8878f5c5dfe8bf5deca1dc55e94ce53352d991cbbe97c/angular/angular/pull/68910 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f6466c18a8a23d3e91b8878f5c5dfe8bf5deca1dc55e94ce53352d991cbbe97c/angular/angular/pull/68910 |
| og:image:alt | Problem
createComponent(..., {hostElement}) replaces classes that already exist on the provided host element when the component also declares static host classes.
Fixes #51460.
Root cause
For exist... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | KirtiRamchandani |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-cache |
| 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 | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/angular/angular/pull/68910#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F68910 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F68910 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow&source=header-repo&source_repo=angular%2Fangular |
| Reload | https://github.com/angular/angular/pull/68910 |
| Reload | https://github.com/angular/angular/pull/68910 |
| Reload | https://github.com/angular/angular/pull/68910 |
| angular | https://github.com/angular |
| angular | https://github.com/angular/angular |
| Code | https://github.com/angular/angular |
| Issues835 (835) | https://github.com/angular/angular/issues |
| Pull requests141 (141) | https://github.com/angular/angular/pulls |
| Discussions | https://github.com/angular/angular/discussions |
| Actions | https://github.com/angular/angular/actions |
| Projects | https://github.com/angular/angular/projects |
| Security and quality40 (40) | https://github.com/angular/angular/security |
| Insights | https://github.com/angular/angular/insights |
| https://github.com/angular/angular |
| KirtiRamchandani | https://github.com/KirtiRamchandani |
| angular:main | https://github.com/angular/angular/tree/main |
| KirtiRamchandani:fix/retain-root-host-classes | https://github.com/KirtiRamchandani/angular/tree/fix/retain-root-host-classes |
| Conversation | https://github.com/angular/angular/pull/68910 |
| Commits1 (1) | https://github.com/angular/angular/pull/68910/commits |
| Checks | https://github.com/angular/angular/pull/68910/checks |
| Files changed | https://github.com/angular/angular/pull/68910/files |
| fix(core): retain host element classes in createComponent | https://github.com/angular/angular/pull/68910#top |
| KirtiRamchandani | https://github.com/KirtiRamchandani |
| angular:main | https://github.com/angular/angular/tree/main |
| KirtiRamchandani:fix/retain-root-host-classes | https://github.com/KirtiRamchandani/angular/tree/fix/retain-root-host-classes |
|
| https://github.com/KirtiRamchandani |
| KirtiRamchandani | https://github.com/KirtiRamchandani |
| May 25, 2026 | https://github.com/angular/angular/pull/68910#issue-4513857241 |
| #51460 | https://github.com/angular/angular/issues/51460 |
| Please reload this page | https://github.com/angular/angular/pull/68910 |
| https://github.com/apps/pullapprove |
| pullapprove | https://github.com/apps/pullapprove |
| JeanMeche | https://github.com/JeanMeche |
| May 25, 2026 02:35 | https://github.com/angular/angular/pull/68910#event-25909772260 |
| https://github.com/apps/angular-robot |
| angular-robot | https://github.com/apps/angular-robot |
|
area: core
| https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22 |
| May 25, 2026 | https://github.com/angular/angular/pull/68910#event-25909773711 |
| https://github.com/apps/ngbot |
| ngbot | https://github.com/apps/ngbot |
| Backlog | https://github.com/angular/angular/milestone/82 |
| May 25, 2026 | https://github.com/angular/angular/pull/68910#event-25909774481 |
|
| https://github.com/KirtiRamchandani |
| fix(core): retain host element classes in createComponent | https://github.com/angular/angular/pull/68910/commits/9355333e99fd82c485f6c72b9c5bf731800a6d80 |
| 9355333 | https://github.com/angular/angular/pull/68910/commits/9355333e99fd82c485f6c72b9c5bf731800a6d80 |
| https://github.com/KirtiRamchandani |
| KirtiRamchandani | https://github.com/KirtiRamchandani |
| force-pushed | https://github.com/angular/angular/compare/b131547725afaafdd058a9c7bd8d10c4c52347f5..9355333e99fd82c485f6c72b9c5bf731800a6d80 |
| b131547 | https://github.com/angular/angular/commit/b131547725afaafdd058a9c7bd8d10c4c52347f5 |
| 9355333 | https://github.com/angular/angular/commit/9355333e99fd82c485f6c72b9c5bf731800a6d80 |
|
Compare
| https://github.com/angular/angular/compare/b131547725afaafdd058a9c7bd8d10c4c52347f5..9355333e99fd82c485f6c72b9c5bf731800a6d80 |
| June 5, 2026 05:49 | https://github.com/angular/angular/pull/68910#event-26370794541 |
| https://github.com/KirtiRamchandani |
| KirtiRamchandani | https://github.com/KirtiRamchandani |
| Jun 5, 2026 | https://github.com/angular/angular/pull/68910#issuecomment-4628634280 |
| 9355333 | https://github.com/angular/angular/commit/9355333e99fd82c485f6c72b9c5bf731800a6d80 |
| Please reload this page | https://github.com/angular/angular/pull/68910 |
| https://github.com/JeanMeche |
| JeanMeche | https://github.com/JeanMeche |
| Aug 16, 2026 | https://github.com/angular/angular/pull/68910#issuecomment-5309405790 |
| Please reload this page | https://github.com/angular/angular/pull/68910 |
| https://github.com/JeanMeche |
| JeanMeche | https://github.com/JeanMeche |
| Aug 16, 2026 | https://github.com/angular/angular/pull/68910#event-29531156512 |
| https://github.com/JeanMeche |
| JeanMeche | https://github.com/JeanMeche |
|
Aug 16, 2026
| https://github.com/angular/angular/pull/68910#ref-issue-328667976 |
|
Adding property/event bindings to ng-content should error
#24259
| https://github.com/angular/angular/issues/24259 |
| https://github.com/apps/angular-automatic-lock-bot |
| angular-automatic-lock-bot | https://github.com/apps/angular-automatic-lock-bot |
| Oct 20, 2026 | https://github.com/angular/angular/pull/68910#issuecomment-6280298427 |
| automatic conversation locking policy | https://github.com/angular/angular/blob/f0fbced1c55bc8b8ed9df01cea99df42f3e7eae3/contributing-docs/auto-issue-locking.md |
| Please reload this page | https://github.com/angular/angular/pull/68910 |
| https://github.com/apps/angular-automatic-lock-bot |
| angular-automatic-lock-bot | https://github.com/apps/angular-automatic-lock-bot |
| Oct 20, 2026 | https://github.com/angular/angular/pull/68910#event-33697268625 |
| https://github.co/hiddenchars |
| https://github.com/angular/angular/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F68910 |
|
| https://github.com/JeanMeche |
|
JeanMeche
| https://github.com/JeanMeche |
| Please reload this page | https://github.com/angular/angular/pull/68910 |
|
area: core
| https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22 |
|
Backlog
| https://github.com/angular/angular/milestone/82 |
|
class names are not retained when host is used with Component decorator
| https://github.com/angular/angular/issues/51460 |
| Please reload this page | https://github.com/angular/angular/pull/68910 |
|
| https://github.com/KirtiRamchandani |
|
| https://github.com/JeanMeche |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |