From e4de6d1d2225340bbe740517c42dffbc3b5cda3d Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 3 Jan 2023 00:48:16 +0800 Subject: [PATCH] Don't need to focus on status after closing carousel It causes unnecessary scroll --- src/components/status.jsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/status.jsx b/src/components/status.jsx index 5dbff1f5..2ea6d926 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -658,7 +658,6 @@ function Status({ index={showMediaModal} onClose={() => { setShowMediaModal(false); - statusRef.current?.focus(); }} />