Can't scale animation responsively on web
See original GitHub issueI’m trying to implement a number of AE-exported animations. I can get them to render on the page without issue but I’m having extreme difficulty finding a way to scale them based on container or screen width while preserving their aspect ratio.
The best I can find are some mentions of preserveAspectRatio and scaleMode under rendererSettings in the README and on StackOverflow but nothing indicated there has any effect on scaling. I can’t locate any documentation of the options.
Can you give me some insight as to how I can achieve responsive scaling?
Issue Analytics
- State:
- Created 5 years ago
- Comments:8
Top Results From Across the Web
Scaling Responsive Animations - CSS-Tricks
Scaling our websites and applications so that they look great on every screen can be difficult. A big portion of that difficulty can...
Read more >Responsive animation size-ratio in a carousel - Stack Overflow
The reason why I cant scale it down is, because then the whole animation gets messed up, not to mention the mess it...
Read more >Responsive scaling not working on mobile - GSAP - GreenSock
Using iframe (like the example below) works great in responsive scaling of my animation in all desktop browsers I tried under OS-X and ......
Read more >Edge Animate to Animate CC: Responsive Scaling and ...
However – being able to scale and reposition elements within an Animate CC HTML5 Canvas document is absolutely possible. The main difference is ......
Read more >Getting an Animate .OAM file to scale dynamically/... - 11316188
In 'Publish Settings' I select make responsive and scale to visible area. I publish it as an .OAM. 1) I can't place it...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@bodymovin Ok, thank you. Can you point me to the documentation on this? I can’t seem to find it: http://airbnb.io/lottie/web/getting-started.html
@boraerbasoglu can you share an example?