I'm in the process of porting a polymer app that was using the (dart) 
polymer-elements to the new core-elements. Mostly this has been reasonably 
straight forward and I'm really liking the new core and paper elements.

However, my canvas related component is biting me again. The issue is the 
old how to get a canvas element to gracefully resize to the full size of 
it's parent container.

Last time around I had a real fight to get it to work properly but finally 
got there (after an event was added to polymer-layout to signal layout was 
finished).

Now this is hitting me again and I can't find any corresponding event in 
core-elements. I've asked this on SO 
http://stackoverflow.com/questions/25467796/autosizing-canvas-to-take-full-size-of-its-container
 
and am hoping there is some new magic in polymer that fixes this that I've 
missed. 

At the moment I've had to resort to the old set timeout hack, which of 
course is unreliable and hurts ux.

This got me thinking that this must be a common enough and tricky enough 
issue to warrant a special polymer wrapper around canvas (aka core-canvas). 

thoughts?

A

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/f06de380-95fa-4921-9cb5-7a04eb65ebdd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to