@karmo-co/drift-kit-public 25.19.0 → 25.19.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/components.js CHANGED
@@ -11548,7 +11548,8 @@
11548
11548
  ind.hidden = false;
11549
11549
  ind.style.width = target.offsetWidth + 'px';
11550
11550
  ind.style.height = target.offsetHeight + 'px';
11551
- ind.style.translate = target.offsetLeft + 'px ' + target.offsetTop + 'px';
11551
+ var at = layoutIn(target, root) || { x: target.offsetLeft, y: target.offsetTop };
11552
+ ind.style.translate = at.x + 'px ' + at.y + 'px';
11552
11553
  ind.__placed = true;
11553
11554
  if (!animate || first) {
11554
11555
  void ind.offsetWidth;