Open Nas-r opened 9 years ago
I was running into this same problem today. The problem (for me at least) is that selectedItemChanged
aborts if there is a no-transition
attribute or if there are no transitions. Which is sensible, but I also need to know when the page has been drawn, so I can resize the container appropriately.
Also, the method aborts when there is no previous selected item, so I can't bind to the transition-prepare
event to resize the container when the first page is loaded.
Morris.js chart doesn't display properly within Polymer core-animated-pages > section > core-animated-pages > section > card > div.
It works fine if I resize the window, the chart just displays weird when it's first injected into the page. I'm guessing it's not grabbing the right div dimensions.
So I've been trying to use core-animated-pages-transition-prepare. I've attempted the following:
I've also tried things like:
and