airbnb / lottie-web

Render After Effects animations natively on Web, Android and iOS, and React Native. http://airbnb.io/lottie/
MIT License
29.86k stars 2.85k forks source link

Bug report: Remember and apply banner settings #2915

Open calydo-su opened 1 year ago

calydo-su commented 1 year ago

When I remember Banner export settings with "Use composition size" enabled, the size of the comp I remembered gets applied to every other comp.

For example, if remember the settings on a 300x250 comp and apply it to a 320x50 comp or any other size, the index.html file will be written with the tag <meta name="ad.size" content="width=300,height=250"> instead of <meta name="ad.size" content="width=320,height=50">

bodymovin commented 1 year ago

Hi, I've tried exporting different sized banner using remember settings, and width and height are respected. Does this happen every time?

calydo-su commented 1 year ago

I'm also not able reproduce the problem now. It may have to do with some combination of Remembering and applying settings between projects, or loading settings from a json. Another thing I noticed is that sometimes when I select zip banner export the filename retains a json extension and I have to manually change it to zip.