From 8ee426de52376467cf023b8a4e9942a517aac416 Mon Sep 17 00:00:00 2001 From: optrader Date: Fri, 21 Nov 2025 10:57:08 +0900 Subject: [PATCH] =?UTF-8?q?[251121]=20fix:=20ProductAllSection=EC=97=90?= =?UTF-8?q?=EC=84=9C=20FavoriteBtn=20=EC=97=94=ED=84=B0=20=EC=9D=B4?= =?UTF-8?q?=EB=B2=A4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit πŸ• 컀밋 μ‹œκ°„: 2025. 11. 21. 10:57:07 πŸ“Š λ³€κ²½ 톡계: β€’ 총 파일: 1개 β€’ μΆ”κ°€: +11쀄 β€’ μ‚­μ œ: -2쀄 πŸ“ μˆ˜μ •λœ 파일: ~ com.twin.app.shoptime/src/views/DetailPanel/components/FavoriteBtn.jsx πŸ”§ μ£Όμš” λ³€κ²½ λ‚΄μš©: β€’ UI μ»΄ν¬λ„ŒνŠΈ μ•„ν‚€ν…μ²˜ κ°œμ„  --- .../views/DetailPanel/components/FavoriteBtn.jsx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/com.twin.app.shoptime/src/views/DetailPanel/components/FavoriteBtn.jsx b/com.twin.app.shoptime/src/views/DetailPanel/components/FavoriteBtn.jsx index 330fa6e2..4f702f5a 100644 --- a/com.twin.app.shoptime/src/views/DetailPanel/components/FavoriteBtn.jsx +++ b/com.twin.app.shoptime/src/views/DetailPanel/components/FavoriteBtn.jsx @@ -66,18 +66,27 @@ export default function FavoriteBtn({ onFavoriteFlagChanged(favoriteFlag === 'Y' ? 'N' : 'Y'); }, [dispatch, favoriteFlag, onFavoriteFlagChanged]); + const handleFavoriteKeyDown = useCallback((e) => { + if (e.key === 'Enter') { + e.preventDefault(); + handleFavoriteClick(); + } + }, [handleFavoriteClick]); + return (
{activePopup === Config.ACTIVE_POPUP.favoritePopup && (