diff --git a/src/components/datatable/ScrollableView.vue b/src/components/datatable/ScrollableView.vue
index a9022c465..68fc1fee5 100755
--- a/src/components/datatable/ScrollableView.vue
+++ b/src/components/datatable/ScrollableView.vue
@@ -13,7 +13,7 @@
-
+
@@ -216,6 +216,12 @@ export default {
},
bodyTableStyle() {
return this.virtualScroll ? {top: '0'} : null;
+ },
+ bodyStyle() {
+ return {
+ maxHeight: this.scrollHeight !== 'flex' ? this.scrollHeight: null,
+ overflowY: !this.frozen && this.scrollHeight ? 'scroll': null
+ }
}
},
components: {