You might need to post your .rp file for this one…
Lottie animations in a repeater… Makes sense, but not sure how the Item Load logic would work…
Sounds like you don’t want the animation visible initially. Do you mean “hidden” or “static”? The first should be easy, just hide the container in the editor and then in the Item Loaded or Loaded (which is triggered after all the repeater items load) set it to show. If your repeater is set to “Fit To Content in HTML” then hiding a widget may affect the row’s height and/or width. That may be what is going on with the animations showing “between the gap” --the repeater thinks the row is a certain size based on the visible widgets at load (whatever you have in the Axure editor), for example, 50 px height. If you then load a Lottie .json via javascript injection and its height is 70 px, then you may get a kind of “overload” where Axure still thinks the repeater row is 50 px tall. Basically, the HTML doesn’t agree with–nor know anything about–the injected javascript code. You should be able to get around this by placing a widget in the background (I use a Hotspot because it is invisible by default) which is set to the correct height of the row–after your Lottie is loaded. Also, if you have Lotties of differing heights, you’ll need to change the size of their container in the Item Loaded event, and/or the size of your hotspot, especially if their height determines the height of the row (i.e., it is the tallest widget in your repeater cell.)
For the latter–showing the Lottie animation as static, it could get tricky because if you are controlling the animation via js, the timing will get messed up–you can’t pause or control the timing of the loading sequence for repeaters. you’d need to do it after the entire repeater loads. But, you should be able to issue a single stop() command which would affect every repeater row. My guess is you need to use the Move or Rotate events of the animation container to directly control a specific row’s animation from outside the repeater, say to start the animation only for the Lottie in row 3.
Not sure you can get around that… It might be possible to apply the methods described here, if someone can figure out a hack for Axure… maybe via CSS plugin??? If you want to pursue this, I’d suggest starting a new thread and simplifying the question down to just how to make an iFrame background transparent.
https://www.c-sharpcorner.com/UploadFile/2cb323/make-transparent-web-page794/