@konoma-development/react-components 0.2.12 → 0.2.13
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.
|
@@ -22662,7 +22662,7 @@ function Table({
|
|
|
22662
22662
|
const columnIndex = currentColumnsLeft.findIndex((col) => col.filterKey === triggeredFilter) >= 0 ? currentColumnsLeft.findIndex((col) => col.filterKey === triggeredFilter) : currentColumnsCenter.findIndex((col) => col.filterKey === triggeredFilter) >= 0 ? currentColumnsLeft.length + currentColumnsCenter.findIndex((col) => col.filterKey === triggeredFilter) : currentColumnsLeft.length + currentColumnsCenter.length + currentColumnsRight.findIndex((col) => col.filterKey === triggeredFilter);
|
|
22663
22663
|
const columnElement = header.current?.children.item(columnIndex);
|
|
22664
22664
|
if (columnElement) {
|
|
22665
|
-
columnElement.scrollIntoView({ behavior: "
|
|
22665
|
+
columnElement.scrollIntoView({ behavior: "instant", block: "nearest", inline: "center" });
|
|
22666
22666
|
}
|
|
22667
22667
|
}, []);
|
|
22668
22668
|
async function updateFilters(newFilters, triggeringFilterId) {
|