Option.getOr(
parentBorderRadius,
@@ -920,9 +929,9 @@ let make = (
} //replaced "overflow-auto" -> to be tested with master
>
0}> {frozenTable}
-
+
+ className={`flex-1 ${overflowClass} no-scrollbar ${childMinWidthClass} ${nonFrozenTableParentClass} ${autoscrollcss} `}>
nonFrozenTable
{switch customizeColumnNewTheme {
diff --git a/src/components/Table.resi b/src/components/Table.resi
index 2e38a23ff..139fe636d 100644
--- a/src/components/Table.resi
+++ b/src/components/Table.resi
@@ -305,4 +305,5 @@ let make: (
~showborderColor: bool=?,
~tableHeadingTextClass: string=?,
~nonFrozenTableParentClass: string=?,
+ ~showAutoScroll: bool=?,
) => React.element
diff --git a/src/screens/Customers/Customers.res b/src/screens/Customers/Customers.res
index 9f0840f6c..0472f2759 100644
--- a/src/screens/Customers/Customers.res
+++ b/src/screens/Customers/Customers.res
@@ -44,6 +44,7 @@ let make = () => {
customColumnMapper={TableAtoms.customersMapDefaultCols}
showSerialNumberInCustomizeColumns=false
sortingBasedOnDisabled=false
+ showAutoScroll=true
/>
}
diff --git a/src/screens/Disputes/Disputes.res b/src/screens/Disputes/Disputes.res
index 2ae10b6f7..6ec4f440c 100644
--- a/src/screens/Disputes/Disputes.res
+++ b/src/screens/Disputes/Disputes.res
@@ -130,6 +130,7 @@ let make = () => {
customColumnMapper={TableAtoms.disputesMapDefaultCols}
showSerialNumberInCustomizeColumns=false
sortingBasedOnDisabled=false
+ showAutoScroll=true
/>
diff --git a/src/screens/Order/Orders.res b/src/screens/Order/Orders.res
index 9ed72e78b..746f218e8 100644
--- a/src/screens/Order/Orders.res
+++ b/src/screens/Order/Orders.res
@@ -193,6 +193,7 @@ let make = (~previewOnly=false) => {
hideTitle=true
previewOnly
remoteSortEnabled=true
+ showAutoScroll=true
/>
diff --git a/src/screens/Payouts/PayoutsList.res b/src/screens/Payouts/PayoutsList.res
index 164e22067..2b805d056 100644
--- a/src/screens/Payouts/PayoutsList.res
+++ b/src/screens/Payouts/PayoutsList.res
@@ -102,6 +102,7 @@ let make = () => {
customColumnMapper=TableAtoms.payoutsMapDefaultCols
showSerialNumberInCustomizeColumns=false
sortingBasedOnDisabled=false
+ showAutoScroll=true
/>
diff --git a/src/screens/Refunds/Refund.res b/src/screens/Refunds/Refund.res
index a4435a305..49fb4c01c 100644
--- a/src/screens/Refunds/Refund.res
+++ b/src/screens/Refunds/Refund.res
@@ -120,6 +120,7 @@ let make = () => {
customColumnMapper=TableAtoms.refundsMapDefaultCols
showSerialNumberInCustomizeColumns=false
sortingBasedOnDisabled=false
+ showAutoScroll=true
/>