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

property-changed not sent from data binding #5669

Open
mkropf opened this issue Jul 14, 2020 · 2 comments
Open

property-changed not sent from data binding #5669

mkropf opened this issue Jul 14, 2020 · 2 comments
Labels

Comments

@mkropf
Copy link

mkropf commented Jul 14, 2020

Description

a polymer element fires a -changed event when a property is declared with notify: true and is "observably changed". However, when the property is changed from a data binding, the event is not fired.

This is very surprising, it is not understandable why a property change should behave differently, depending on the way it gets invoked.

Live Demo

https://jsbin.com/fiqisay/edit?html,output

Steps to Reproduce

run the example in jsbin

Expected Results

both child properties should notify

Actual Results

the property updated by the binding doesn't

Browsers Affected

  • [x ] Chrome
  • [x ] Firefox
  • [? ] Edge
  • [? ] Safari 11
  • [? ] Safari 10
  • [? ] IE 11

Versions

  • Polymer: v3.4.1
  • webcomponents: vX.X.X
@mkropf
Copy link
Author

mkropf commented Jul 14, 2020

should _setPendingProperty be called with 3d parameter true?

if (node._setPendingProperty(prop, value)) {

@stale
Copy link

stale bot commented Jul 14, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jul 14, 2021
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

1 participant