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

dom-if template removes display from inner div style #2037

Closed
bushuyev opened this issue Jul 7, 2015 · 1 comment
Closed

dom-if template removes display from inner div style #2037

bushuyev opened this issue Jul 7, 2015 · 1 comment
Assignees
Labels

Comments

@bushuyev
Copy link

bushuyev commented Jul 7, 2015

Hi,

Could you please comment on http://stackoverflow.com/questions/31248345/polymer-1-0-dom-if-template-removes-display-from-inner-div-style

Thank you.

@kevinpschaaf
Copy link
Member

Replied on SO. As noted, we'll plan on fixing this behavior by applying the last value of display for children when if becomes truthy in the default "hiding" mode of dom-if.

@kevinpschaaf kevinpschaaf added the p1 label Jul 9, 2015
@kevinpschaaf kevinpschaaf self-assigned this Jul 9, 2015
sorvell pushed a commit that referenced this issue Jul 25, 2015
Cache style.display & textContent and re-apply on true. Fixes #2037
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants