As using the canvas render method in Lottie for image sequences appears to be much better performance wise and works better on iOS and MacOS, it seems like the obvious choice.
Sadly though I’m having some scaling issues using canvas.
It simply doesn’t preserve the aspect ratio when scaling the browser.
Is it possible to achieve the same scaling as in svg, as that one does preserve it?
I’ve tried the following div attribute:
Value: xMidYMid slice
This allows the image sequence to scale beyond the browser edge. At least in svg. It is ignored in canvas mode.
Thank you very much in advance!