@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.
- package/dist/jsenv_navi.js +5 -1
- package/dist/jsenv_navi.js.map +11 -12
- package/package.json +1 -1
package/dist/jsenv_navi.js
CHANGED
|
@@ -19653,7 +19653,11 @@ const LoadingIndicatorFluid = ({
|
|
|
19653
19653
|
setContainerWidth(width);
|
|
19654
19654
|
setContainerHeight(height);
|
|
19655
19655
|
if (radius === undefined || radius === "inherit") {
|
|
19656
|
-
const
|
|
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;
|