Hi polymers,
When an paper-input is bound to values of an array in a template repeat,
both my styles and paper-input internal elements are disrupted when
array.pop().
Try following on the example below:
document.querySelector("paper-input-nostyle").myarray.pop();
document.querySelector("paper-input-nostyle").myarray.push("c");
in this example styles are applied and elements are fine when I pop(), when
I push("c") they're disrupted.
In my application however it's the other way around, they're disrupted when
pop() and fine again when push("c"). Nevertheless, the example below shows
same behaviour.
This magic happens at ~line: 1096 in TemplateBinding.js at
extractInstanceAt: function(index) { ... instance.appendChild(parent.
removeChild(node)); ...
Before POP (no styles)
After POP (styles are there and broken elements, I especially mind
#inputClone that is displayed and takes space)
<https://lh6.googleusercontent.com/-DHIZZ5fRtbg/U-4xZSNu5HI/AAAAAAAAAAY/Qw2P7SJ7qC0/s1600/BeforePOP.PNG>
<https://lh6.googleusercontent.com/-jDOmHyo4rIA/U-4yFGmPHlI/AAAAAAAAAAg/adf8clMjxAM/s1600/afterPOP3.PNG>
Thanks, //Techar
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/e5013734-4f31-47d6-8bd9-d860c53d1495%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.