Has anyone run into issues where iron-media-query doesn't seem to be
setting the query-matches bound property on initial loading of the site? In
other words, if the site is initially loaded in a smaller viewport (such as
on mobile or on desktop in smaller window), various local DOM elements are
not being hidden using
hidden$="{{_smallScreen}}"
However, if the site is initially loaded in a larger viewport and then
subsequently reduced in size, the iron-media-query hides the local DOM
elements appropriately. Perhaps something to do with initial value of
element's _smallScreen property or maybe I should perform some action on a
loading lifecycle event?
FYI, I have posted on SO as well:
http://stackoverflow.com/questions/32723163/iron-media-query-not-hiding-local-dom-elements-if-initially-loaded-in-smaller-vi
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/89c42bd0-8b41-4143-9d36-ecddbe16ca88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.