[251113] fix: LiveShow-YouMayLikeContents focus handler

🕐 커밋 시간: 2025. 11. 13. 15:22:08

📊 변경 통계:
  • 총 파일: 2개
  • 추가: +6줄
  • 삭제: -11줄

📝 수정된 파일:
  ~ com.twin.app.shoptime/src/views/PlayerPanel/PlayerTabContents/TabContents/ShopNowContents.jsx
  ~ com.twin.app.shoptime/src/views/PlayerPanel/PlayerTabContents/TabContents/ShopNowContents.v2.module.less

🔧 주요 변경 내용:
  • 코드 정리 및 최적화

Performance: 코드 최적화로 성능 개선 기대
This commit is contained in:
2025-11-13 15:22:09 +09:00
parent 96511fa7f3
commit 7a12cb43be
2 changed files with 6 additions and 11 deletions

View File

@@ -192,16 +192,11 @@ export default function ShopNowContents({
} }
}} }}
spotlightId={`you-may-like-item-${index}`} spotlightId={`you-may-like-item-${index}`}
onSpotlightUp={ onSpotlightUp={(e) => {
isYouMayLikeStart e.stopPropagation();
? (e) => { e.preventDefault();
// YouMayLike 첫 번째 아이템에서 위로 가면 Close 버튼으로 Spotlight.focus('shownow_close_button');
e.stopPropagation(); }}
e.preventDefault();
Spotlight.focus('shownow_close_button');
}
: undefined
}
type={TYPES.horizontal} type={TYPES.horizontal}
version={version} version={version}
/> />

View File

@@ -74,7 +74,7 @@
&::before { &::before {
content: ''; content: '';
position: absolute; position: absolute;
left: -19px; left: -16px;
top: 0; top: 0;
width: 1px; width: 1px;
height: 100%; height: 100%;