From 90481f787d332962bfc1fd9b36e06c47a1e39e10 Mon Sep 17 00:00:00 2001 From: "junghoon86.park" Date: Thu, 20 Nov 2025 15:50:44 +0900 Subject: [PATCH] =?UTF-8?q?[=EC=A0=80=EC=8A=A4=ED=8A=B8=20=ED=8F=AC?= =?UTF-8?q?=EC=9C=A0=20=EC=B4=88=EA=B8=B0=20=ED=8F=AC=EC=BB=A4=EC=8A=A4]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 저스트 포유 초기 포커스 생성 - 정확한 포커스는 금요일 확인이후 수정 예정 --- .../views/JustForYouTestPanel/JustForYouTestPanel.jsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/com.twin.app.shoptime/src/views/JustForYouTestPanel/JustForYouTestPanel.jsx b/com.twin.app.shoptime/src/views/JustForYouTestPanel/JustForYouTestPanel.jsx index b9d5e928..5d4c0f0f 100644 --- a/com.twin.app.shoptime/src/views/JustForYouTestPanel/JustForYouTestPanel.jsx +++ b/com.twin.app.shoptime/src/views/JustForYouTestPanel/JustForYouTestPanel.jsx @@ -1,5 +1,6 @@ import React, { useCallback, + useEffect, useRef, useState, } from 'react'; @@ -120,6 +121,15 @@ const JustForYouTestPanel = ({ panelInfo, ...rest }) => { [dispatch] ); + useEffect(()=>{ + const timeOut = setTimeout(()=>{ + Spotlight.focus("justforyouspotlight") + },100) + return(()=>{ + clearTimeout(timeOut); + }) + },[]) + return (