You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I need to add a Canvas inside an element, and set its width and height to fit the parent (without that the images I need to draw on the canvas are stretched).
Did you get this working? I have a similar issue with nesting SVGs inside elm-ui, which ends up being the same issue I think, where the Element can't really tell what the canvas size should be, so you'd need to hardcode the size, wouldn't you?
Hi, I need to add a
Canvas
inside an element, and set itswidth
andheight
to fit the parent (without that the images I need to draw on the canvas are stretched).So far I did this:
The text was updated successfully, but these errors were encountered: