diff --git a/semcore/base-components/src/components/scroll-area/ScrollArea.tsx b/semcore/base-components/src/components/scroll-area/ScrollArea.tsx index 1c474b588d..918c61be08 100644 --- a/semcore/base-components/src/components/scroll-area/ScrollArea.tsx +++ b/semcore/base-components/src/components/scroll-area/ScrollArea.tsx @@ -100,6 +100,7 @@ class ScrollAreaRoot extends Component< const { wMax, hMax, observeParentSize } = this.asProps; const size = { width: '', height: '' }; if (!this.$container || !this.$wrapper) return size; + if (!wMax && !hMax) return size; const { scrollWidth, scrollHeight } = this.$container; const style = window.getComputedStyle(this.$wrapper); const parent = this.$wrapper.parentElement; diff --git a/semcore/data-table/src/components/Body/Body.tsx b/semcore/data-table/src/components/Body/Body.tsx index 89c8f92c43..a187fe0aad 100644 --- a/semcore/data-table/src/components/Body/Body.tsx +++ b/semcore/data-table/src/components/Body/Body.tsx @@ -237,6 +237,7 @@ class BodyRoot extends Component extends Component