Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recreating element fails when using class-based selector #43

Open
amaschas opened this issue Jan 18, 2017 · 0 comments
Open

Recreating element fails when using class-based selector #43

amaschas opened this issue Jan 18, 2017 · 0 comments

Comments

@amaschas
Copy link

amaschas commented Jan 18, 2017

If I define a component using a CSS class as a selector like this:

@Component({})
export class App {
  selector: '.app-container'
}

The element recreation process will create a new element but won't apply the relevant class(es), and the component fail to find the necessary selector. Would it be possible to just duplicate the element being removed, so that the element that replaces it is identical?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant