Skip to content

remove :is attribute even when component is cached (fixes #2666) #2672

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

Merged
merged 1 commit into from
Apr 15, 2016

Conversation

GuillaumeLeclerc
Copy link

Hello,

This bug fixes #2666, a html file reproducing the bug within it's context can be found here

Since it's only one line I don't think a test is required but I'll explain why the bug occurs and why the PR fixes this.

As stated here, the compilation is cached so for all components except the first one the attributes are not removed. Users might want to use the ':is' version. In this case it's not removed from the DOM and visible.

This PR fixes the bug in my codebase.

Thank you !

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

Successfully merging this pull request may close these issues.

is attribute still present in the DOM after compilation
2 participants