@builder.io/sdk 1.1.29-0 → 1.1.29-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -123,7 +123,7 @@ function assertAllowedPropertyName(name) {
123
123
  throw new Error("Property name \"".concat(name, "\" is not allowed"));
124
124
  }
125
125
 
126
- var version = "1.1.28";
126
+ var version = "1.1.29-0";
127
127
 
128
128
  var Subscription = /** @class */ (function () {
129
129
  function Subscription(listeners, listener) {
@@ -667,7 +667,9 @@ var Animator = /** @class */ (function () {
667
667
  pendingAnimation = true;
668
668
  setTimeout(function () {
669
669
  assign(element.style, animation.steps[1].styles);
670
- document.removeEventListener('scroll', onScroll);
670
+ if (!animation.repeat) {
671
+ document.removeEventListener('scroll', onScroll);
672
+ }
671
673
  setTimeout(function () {
672
674
  pendingAnimation = false;
673
675
  element.style.transition = '';