@biggive/components 202401021355.0.0 → 202401021422.0.0

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.
@@ -1673,7 +1673,11 @@ const BiggiveTotalizer = class {
1673
1673
  // We've seen the initial calculation exclude the ~30px per set of values end padding before,
1674
1674
  // and it's safe to err on the side of more copies to reduce the chance of abrupt early loop
1675
1675
  // ends, so we add a buffer of 40px to the calculation when deciding how many copies to use.
1676
- const sleeveCount = Math.max(1, Math.min(4, Math.ceil((2 * (40 + itemsWidth)) / containerWidth)));
1676
+ // const sleeveCount = Math.max(1, Math.min(4, Math.ceil((2 * (40 + itemsWidth)) / containerWidth)));
1677
+ // TODO Ultimately we'd like to get multiple copies working, or simplify. This
1678
+ // has proven very hard to iterate on pending a fix for DON-867 because
1679
+ // there is Angular-specific behaviour breaking the contents of copies.
1680
+ const sleeveCount = 1;
1677
1681
  this.host.style.setProperty('--ticker-end-left', `-${sleeveCount * 100}%`);
1678
1682
  const duration = Math.round((itemsWidth / 100) * sleeveCount);
1679
1683
  for (let ii = 1; ii <= sleeveCount; ii++) {