From 45daa2c2daf08d5bc3e5156cda3f3f3f0dc2f969 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Wed, 27 Oct 2021 16:16:18 -0700 Subject: [PATCH] Increase drag select debounce from 100ms -> 200ms - 100ms seems too short, causing lag when dragging --- src/components/viewtypes/ListViewTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/viewtypes/ListViewTable.tsx b/src/components/viewtypes/ListViewTable.tsx index 2ffd46d..afe4cb5 100644 --- a/src/components/viewtypes/ListViewTable.tsx +++ b/src/components/viewtypes/ListViewTable.tsx @@ -191,7 +191,7 @@ const ListViewTable = ({ const debouncedMouseEnterFn = _.debounce((rowData: any) => { dispatch(setRangeSelected(rowData)); dispatch(toggleRangeSelected(sortColumn && !nowPlaying ? sortedData : data)); - }, 100); + }, 200); const handleSelectMouseEnter = (rowData: any) => { if (multiSelect.isSelectDragging) {