[영상 작동 수정]

- 영상 화면 live next 버튼에 포커스가 가면 영상 리스트가 노출되도록 변경.
 - onFocus 추가하여 focus시 작동하도록 변경.
This commit is contained in:
junghoon86.park
2025-12-04 15:51:19 +09:00
parent 37574c0794
commit 49f137620b
2 changed files with 4 additions and 1 deletions

View File

@@ -23,6 +23,7 @@ export default function LiveChannelNext({
programName = 'Sandal Black...',
backgroundColor = 'linear-gradient(180deg, #284998 0%, #06B0EE 100%)',
onClick,
onFocus,
spotlightId = 'live-channel-next-button',
}) {
const handleSpotlightUp = (e) => {
@@ -47,6 +48,7 @@ export default function LiveChannelNext({
<SpottableDiv
className={css.liveChannelButton}
onClick={onClick}
onFocus={onFocus}
spotlightId={spotlightId}
onSpotlightUp={handleSpotlightUp}
onSpotlightDown={handleSpotlightDown}

View File

@@ -337,6 +337,7 @@ export default function TabContainerV2({
}
onClick={onLiveNext}
spotlightId="live-channel-next-button"
onFocus={onLiveNext}
/>
<ShopNowButton onClick={onShopNowButtonClick} />
</>