From cac42de0caf68b3d0a977a1a2047795a8881ae1d Mon Sep 17 00:00:00 2001 From: optrader Date: Wed, 19 Nov 2025 09:22:02 +0900 Subject: [PATCH] =?UTF-8?q?[251119]=20fix:=20ProductAllSection=20BuyNow?= =?UTF-8?q?=EB=B2=84=ED=8A=BC=20=ED=8F=AC=EC=BB=A4=EC=8A=A4=20=EC=9D=B4?= =?UTF-8?q?=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🕐 커밋 시간: 2025. 11. 19. 09:22:01 📊 변경 통계: • 총 파일: 1개 • 추가: +5줄 • 삭제: -2줄 📝 수정된 파일: ~ com.twin.app.shoptime/src/views/DetailPanel/ProductAllSection/ProductAllSection.jsx --- .../DetailPanel/ProductAllSection/ProductAllSection.jsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/com.twin.app.shoptime/src/views/DetailPanel/ProductAllSection/ProductAllSection.jsx b/com.twin.app.shoptime/src/views/DetailPanel/ProductAllSection/ProductAllSection.jsx index 68dbf77f..c88b49f3 100644 --- a/com.twin.app.shoptime/src/views/DetailPanel/ProductAllSection/ProductAllSection.jsx +++ b/com.twin.app.shoptime/src/views/DetailPanel/ProductAllSection/ProductAllSection.jsx @@ -894,10 +894,13 @@ export default function ProductAllSection({ // BUY NOW, ADD TO CART 버튼에서 arrow up 시: 항상 헤더 뒤로가기 버튼으로 const handleSpotlightUpFromBuyButtons = useCallback((e) => { e.stopPropagation(); - if(promotions){ + if(promotions && promotions.length > 0){ Spotlight.focus('detail-coupon-button'); } else { - Spotlight.focus('spotlightId_backBtn'); + // 쿠폰 버튼이 없을 때 뒤로가기 버튼으로 포커스 이동 (특정 Chrome 버전에서의 포커스 문제 해결) + setTimeout(() => { + Spotlight.focus('spotlightId_backBtn'); + }, 0); } }, [promotions]);