From 9681eb42e17e775fae551a2f22e9e740f5881ff7 Mon Sep 17 00:00:00 2001 From: optrader Date: Thu, 11 Dec 2025 17:20:46 +0900 Subject: [PATCH] =?UTF-8?q?[251211]=20fix:=20IntroPanel.new.jsx=20?= =?UTF-8?q?=ED=8F=AC=EC=BB=A4=EC=8A=A4=20=EC=A1=B0=EC=A0=95-3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🕐 커밋 시간: 2025. 12. 11. 17:20:46 📊 변경 통계: • 총 파일: 1개 • 추가: +11줄 • 삭제: -4줄 📝 수정된 파일: ~ com.twin.app.shoptime/src/views/IntroPanel/IntroPanel.new.jsx --- .../src/views/IntroPanel/IntroPanel.new.jsx | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) 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");