@ai-matrx/design-system 0.61.13 → 0.61.14
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/CHANGELOG.md +9 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -402,7 +402,7 @@ function findPillViolation(el, maxWidth = PILL_MAX_WIDTH_PX) {
|
|
|
402
402
|
function overflowPast(el, rect, view) {
|
|
403
403
|
for (let p = el.parentElement; p; p = p.parentElement) {
|
|
404
404
|
const ox = view.getComputedStyle(p).overflowX;
|
|
405
|
-
if (ox === "auto" || ox === "scroll") return null;
|
|
405
|
+
if ((ox === "auto" || ox === "scroll") && p.scrollWidth > p.clientWidth + 1 && p.scrollHeight <= p.clientHeight + 1) return null;
|
|
406
406
|
}
|
|
407
407
|
const pinned = ["absolute", "fixed"].includes(view.getComputedStyle(el).position);
|
|
408
408
|
const parent = el.parentElement;
|