@jsenv/navi 0.26.23 → 0.26.24

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.
@@ -19653,7 +19653,11 @@ const LoadingIndicatorFluid = ({
19653
19653
  setContainerWidth(width);
19654
19654
  setContainerHeight(height);
19655
19655
  if (radius === undefined || radius === "inherit") {
19656
- const radius = getComputedStyle(indicatorEl).borderRadius;
19656
+ const parentEl = indicatorEl.parentElement;
19657
+ // Prefer the inline style (always available, even before layout is computed).
19658
+ // Fall back to computed longhands — getComputedStyle shorthand may return ""
19659
+ // if the browser hasn't resolved the layout yet.
19660
+ const radius = parentEl.style.borderRadius || parentEl.style.borderTopLeftRadius || getComputedStyle(parentEl).borderTopLeftRadius || "0px";
19657
19661
  setContainerRadius(radius);
19658
19662
  }
19659
19663
  let animationFrameId = null;