Closed jogibear9988 closed 6 years ago
Distribution is asynchronous, so if you're writing a test where you are checking for the presence of the input element, you need to wait a tick (wrap the test in a Polymer.Base.Async
or a setTimeout
)
Otherwise, I can't reproduce this just by dropping an element in the page, so it's probably some JS code you wrote: http://jsbin.com/hovahac/edit?html,output
I use this code in my index.html:
but paper input container is throwing a exception in line
because of this._inputElement is null.
I could not explain it! When I debug my code, the paper-input-container has no children. But after that, the code is displayed and works as expected! Has anyone any idea?