diff --git a/com.twin.app.shoptime/src/views/IntroPanel/IntroPanel.new.jsx b/com.twin.app.shoptime/src/views/IntroPanel/IntroPanel.new.jsx index 7e212528..7e507de9 100644 --- a/com.twin.app.shoptime/src/views/IntroPanel/IntroPanel.new.jsx +++ b/com.twin.app.shoptime/src/views/IntroPanel/IntroPanel.new.jsx @@ -282,7 +282,7 @@ function IntroPanelWithOptional({ useEffect(() => { const focusTimer = setTimeout(() => { focusById("selectAllCheckbox"); - }, 500); + }, 0); return () => { clearTimeout(focusTimer); @@ -844,15 +844,22 @@ function IntroPanelWithOptional({ //20250903 pjh //selectAll에서 포커스 올렸을때 처리 변경. - const onSelectAllSpotlightUp = () => { + const onSelectAllSpotlightUp = (event) => { + if (event) { + event.preventDefault(); + event.stopPropagation(); + } setTimeout(() => { focusById("optionalCheckbox"); }, 10); - // focusById("optionalCheckbox"); }; //Optional terms 체크박스가 체크가 되어있을때 아래로 내리면(3개전부 체크기준) agree로 가고, 아닐경우 select all로 포커스이동해야함. - const onOptionalTermSpotlightDown = () => { + const onOptionalTermSpotlightDown = (event) => { + if (event) { + event.preventDefault(); + event.stopPropagation(); + } setTimeout(() => { if (termsChecked && privacyChecked && optionalChecked) { focusById("agreeButton");