Emmanuel Garcia

Results 141 comments of Emmanuel Garcia

@NicolasRannou I believe you are setting states imperatively. e.g. calling `x-element.toggle()`. That won't reset the state once that `x-element` is recycled. Instead what you can do is have a binding...

Thanks for the PR @jshcrowthe! In https://github.com/PolymerElements/iron-list/issues/204 you said: > The thought was, because I am working with private API of the element, (e.g. this._getNormalizedItem(item), this._physicalItems.map(...), etc) that the functionality...

@barnomics This seems odd, but I'm curious to see the use case. The underlaying issue is that when you focus the window back, a focus event is triggered on the...

@barnomics I can only reproduce the issue if I move focus outside the window (e.g. I focus the address bar or dev tool as you mentioned in the initial issue)...

I agree. It should call `updateSizeForItem` automatically. `_forwardItemPath` should be the right spot. ``` js this.updateSizeForItem(el._templateInstance[this.as]); ``` Feel free to send a PR!

Now that I'm thinking this a little bit more, maybe the list shouldn't do that at all. Here's why: many of changes to the item won't necessarily change the size...

Do you have them in a repo? It seems like many things could be happening. I would appreciate if you can narrow down the issue.

I don't have one, but you could try using https://github.com/vaadin/angular2-polymer

@5amfung using `dom-bind`? ``` html ... ``` ``` js document.querySelector('#template').items = []; ```