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

[1.0] Inserted content not toggled when inside dom-if #1862

Closed
yyx990803 opened this issue Jun 13, 2015 · 2 comments
Closed

[1.0] Inserted content not toggled when inside dom-if #1862

yyx990803 opened this issue Jun 13, 2015 · 2 comments

Comments

@yyx990803
Copy link

With the following template:

<template is="dom-if" if="{{ok}}">
    <p>normal content</p>
    <content></content>
</template>

When the ok property changes, <p>normal content</p> is toggled as expected; However the inserted content will always remain in the DOM.

@ghost
Copy link

ghost commented Jun 13, 2015

#1816

If you're in the master branch the problem has been fixed.

@yyx990803
Copy link
Author

Cool, thanks!

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