From 158f94f583ba65f7fa1ffee6ca9de0fb9be9cc17 Mon Sep 17 00:00:00 2001 From: Luke Berndt Date: Thu, 26 Jan 2023 21:06:55 -0500 Subject: [PATCH] fixed scrolling perf using ref callbacks --- frontend/src/Call/Calls.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/Call/Calls.js b/frontend/src/Call/Calls.js index 77cc9e5..3a2885e 100644 --- a/frontend/src/Call/Calls.js +++ b/frontend/src/Call/Calls.js @@ -334,7 +334,7 @@ useLayoutEffect(() => { }, [groupsData]) - + const setPositionRef = node => positionRef.current = node; let archiveLabel = ""; @@ -360,7 +360,7 @@ useLayoutEffect(() => { } return ( -
+