[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:
@@ -192,16 +192,11 @@ export default function ShopNowContents({
|
||||
}
|
||||
}}
|
||||
spotlightId={`you-may-like-item-${index}`}
|
||||
onSpotlightUp={
|
||||
isYouMayLikeStart
|
||||
? (e) => {
|
||||
// YouMayLike 첫 번째 아이템에서 위로 가면 Close 버튼으로
|
||||
onSpotlightUp={(e) => {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
Spotlight.focus('shownow_close_button');
|
||||
}
|
||||
: undefined
|
||||
}
|
||||
}}
|
||||
type={TYPES.horizontal}
|
||||
version={version}
|
||||
/>
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: -19px;
|
||||
left: -16px;
|
||||
top: 0;
|
||||
width: 1px;
|
||||
height: 100%;
|
||||
|
||||
Reference in New Issue
Block a user