Skip to content

Property bindings and text interpolations get mixed up when using components in the light dom of other components #4522

Closed

Description

@tbosch

E.g.

@Component({
  selector: 'a-comp'
})
@View({
  template: '{{0}}<ng-content></ng-content>{{2}}'
})
class AComp {}

@Component({
  selector: 'b-comp'
})
@View({
  template: '{{1}}'
})
class BComp {}

@Component({
  selector: 'main'
})
@View({
  template: `
<a-comp>
  <b-comp></b-comp>
</a-comp>
`, directives: [AComp, BComp]
})
class Main {}

This will display the text 201 instead of 012.

Activity

  1. added a commit that references this issue on Oct 5, 2015
    d63df8f
  2. angular-automatic-lock-bot commented on Sep 7, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  3. locked and limited conversation to collaborators on Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions