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

Ensure stamped DOM reflects _hideTemplateChildren state. Fixes #1751 #1993

Merged
merged 3 commits into from
Jul 8, 2015

Conversation

kevinpschaaf
Copy link
Member

No description provided.

@@ -320,9 +320,13 @@
// each row is a document fragment which is lost when we appendChild,
// so we have to track each child individually
var children = [];
var hide = host._hideTemplateChildren;
for (var n = this.root.firstChild; n; n=n.nextSibling) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider giving TemplateInstance a showHideChildren method? Then use it here and in repeater's _shotHideChildren.

@sorvell
Copy link
Contributor

sorvell commented Jul 8, 2015

LGTM

@sorvell sorvell merged commit 9c6648d into master Jul 8, 2015
@sorvell sorvell deleted the 1751-kschaaf-stamp-hidden branch July 8, 2015 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants