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

Polymer notifications are not forwarded for scopeless nodes #43

Open
6 tasks done
tomalec opened this issue Jan 2, 2018 · 0 comments
Open
6 tasks done

Polymer notifications are not forwarded for scopeless nodes #43

tomalec opened this issue Jan 2, 2018 · 0 comments

Comments

@tomalec
Copy link
Member

tomalec commented Jan 2, 2018

Steps to reproduce

  1. Create imported-template using <dom-bind>
    <dom-bind id="domBind">
      <imported-template html="{{html}}" model="{{model}}"></imported-template>
    </dom-bind>
  2. Attach a model domBind.set('model', {foo: 'not changed'}); and import scopeless document:
    <template><dom-bind>{{model.foo}}</dom-bind></template>
  3. Change foo property of a model using `domBind.set('model.foo', 'changed');

Live Demo

https://jsbin.com/nufinevija/1/edit?html,output

Expected result

Inner dom-bind should get notified and value changed

Actual result

dom-bind is not notified and value is not changed

Browsers affected

  • Chrome
  • Firefox
  • Edge
  • Safari 9
  • Safari 8
  • IE 11

//cc @alshakero

@tomalec tomalec added the bug label Jan 2, 2018
@warpech warpech added this to the imported-template stability milestone Apr 7, 2018
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