diff --git a/src/pages/status.jsx b/src/pages/status.jsx index aa425abb..ad8b4f0e 100644 --- a/src/pages/status.jsx +++ b/src/pages/status.jsx @@ -438,7 +438,7 @@ function StatusThread({ id, closeLink = '/', instance: propInstance }) { }; useEffect(initContext, [id, masto]); - useEffect(() => { + useLayoutEffect(() => { if (!statuses.length) return; console.debug('STATUSES', statuses); const scrollPosition = scrollPositions[id];