[영상 작동 수정]
- 영상 화면 live next 버튼에 포커스가 가면 영상 리스트가 노출되도록 변경. - onFocus 추가하여 focus시 작동하도록 변경.
This commit is contained in:
@@ -23,6 +23,7 @@ export default function LiveChannelNext({
|
|||||||
programName = 'Sandal Black...',
|
programName = 'Sandal Black...',
|
||||||
backgroundColor = 'linear-gradient(180deg, #284998 0%, #06B0EE 100%)',
|
backgroundColor = 'linear-gradient(180deg, #284998 0%, #06B0EE 100%)',
|
||||||
onClick,
|
onClick,
|
||||||
|
onFocus,
|
||||||
spotlightId = 'live-channel-next-button',
|
spotlightId = 'live-channel-next-button',
|
||||||
}) {
|
}) {
|
||||||
const handleSpotlightUp = (e) => {
|
const handleSpotlightUp = (e) => {
|
||||||
@@ -47,6 +48,7 @@ export default function LiveChannelNext({
|
|||||||
<SpottableDiv
|
<SpottableDiv
|
||||||
className={css.liveChannelButton}
|
className={css.liveChannelButton}
|
||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
|
onFocus={onFocus}
|
||||||
spotlightId={spotlightId}
|
spotlightId={spotlightId}
|
||||||
onSpotlightUp={handleSpotlightUp}
|
onSpotlightUp={handleSpotlightUp}
|
||||||
onSpotlightDown={handleSpotlightDown}
|
onSpotlightDown={handleSpotlightDown}
|
||||||
|
|||||||
@@ -337,6 +337,7 @@ export default function TabContainerV2({
|
|||||||
}
|
}
|
||||||
onClick={onLiveNext}
|
onClick={onLiveNext}
|
||||||
spotlightId="live-channel-next-button"
|
spotlightId="live-channel-next-button"
|
||||||
|
onFocus={onLiveNext}
|
||||||
/>
|
/>
|
||||||
<ShopNowButton onClick={onShopNowButtonClick} />
|
<ShopNowButton onClick={onShopNowButtonClick} />
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user