polymer icon indicating copy to clipboard operation
polymer copied to clipboard

attrubuteChanged event on "sub-component" not fired in Canary but works in Chrome

Open SBhojani opened this issue 13 years ago • 3 comments

Hi,

Please see the code here: http://jsbin.com/arojop/1/edit.

I've got the ageChanged function on both the "tk-binding-to-elements" and "just-a-container". When the user moves the age slider to change the value, both events should fire given the bindings. It works fine in Chrome where I get the log from both functions. But, in Canary, I only get the event from the container. The ageChanged event on the "element" is never fired.

Not sure if this is a Polymer/Toolkit bug or a Canary bug.

Thanks.

SBhojani avatar May 14 '13 10:05 SBhojani

I haven't been able to reproduce it, it's probably a Canary bug. Wait for the next update and see if you are still having the problem.

sjmiles avatar May 14 '13 20:05 sjmiles

I updated the code to use "Polymer" instead of "Toolkit": http://jsbin.com/arojop/5/edit.

Also, I did some further testing. It works on Canary on Windows 8 (32-bit) for me but not on Canary on Windows 7 (64-bit). Not sure if any of this is relevant, though.

Waiting for the next Canary update.

SBhojani avatar May 15 '13 08:05 SBhojani

Found out the cause. This was due to some experimental Canary features that I had enabled. I reset all of those and the problem went away.

SBhojani avatar May 17 '13 08:05 SBhojani