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

demo-snippet rendered as inline when useNativeCSSProperties and lazyRegister are enabled #43

Open
3 tasks done
woutervroege opened this issue Oct 24, 2016 · 0 comments
Open
3 tasks done

Comments

@woutervroege
Copy link

woutervroege commented Oct 24, 2016

Description

I enabled useNativeCSSProperties and lazyRegister and added a demo-snippet to my file. The <div class="demo"></div> is rendered inline instead of block.

As a result, my-element doesn't render correctly inside the demo-snippet

Example code

<script>
      window.Polymer = {
        useNativeCSSProperties: true,
        lazyRegister: true
      };
</script>

<div class="vertical-section-container">
  <h3>Basic my-element Demo</h3>
  <demo-snippet>
    <template>
      <my-element></my-element>
    </template>
  </demo-snippet>
</div>

Browsers Affected

  • Chrome 53
  • Firefox 46
  • Safari 10
    (others untested)
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