Revisit: changing @published properties on widgets not working as advertised #2252
Comments
@ussuri 8411d93 seemed to break ide. Reverting that change seems to unbreak it.
|
@financecoding: @devoncarew fixed it already. |
Possibly fixed here #2367 |
I wonder if the (fairly pervasive) problem of polymer not reacting to changes is due to us not properly setting up the It may also be worth exploring having the components be responsible for firing events when their properties change, instead of replying on polymer's automagic detection. |
Based on @jmesserly's comment to #2247, you're right. We can wait for "https://codereview.chromium.org/222203009/ which is the fix for https://code.google.com/p/dart/issues/detail?id=17301", or indeed fix the |
https://codereview.chromium.org/222203009/ is still not fixed (I've just pinged that bug). Moving this further out. |
There are currently multiple issues with programmatic changes to
@published
properties on widgets not properly propagating to the HTML side. A property would be changed either by an external client or internally by the widget itself, but that's not reflected in the HTML/CSS (attributes don't get set, CSS rules don't get applied etc.).It seems like there is a fix coming from the Polymer side:
https://codereview.chromium.org/222203009/ which is the fix for https://code.google.com/p/dart/issues/detail?id=17301
Track that and revisit the widgets. Some markers to look for:
deliverChanges()
invoked on the widgetssetAttr()
calls on the widgets replacing simple property assignment"{{attr}}"
cc @devoncarew
The text was updated successfully, but these errors were encountered: