Compare commits
2 Commits
backup-202
...
backup-202
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d93960f40a | ||
| 4dfa15b4c0 |
@@ -34,7 +34,7 @@
|
||||
padding: @slider-padding-v 0;
|
||||
height: @sand-mediaplayer-slider-height;
|
||||
right: 154px;
|
||||
width: 1466px;
|
||||
width: 1558px;
|
||||
// Add a tap area that extends to the edges of the screen, to make the slider more accessible
|
||||
&::before {
|
||||
content: "";
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
position: absolute;
|
||||
font-family: @baseFont;
|
||||
width: 100%;
|
||||
right: 90px;
|
||||
right: 20px;
|
||||
bottom: -5px;
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
@@ -16,12 +16,12 @@
|
||||
letter-spacing: -1px;
|
||||
.separator {
|
||||
position: absolute;
|
||||
right: 105px;
|
||||
right: 95px;
|
||||
bottom: -5px;
|
||||
}
|
||||
.currentTime {
|
||||
position: absolute;
|
||||
right: 130px;
|
||||
right: 120px;
|
||||
bottom: -5px;
|
||||
}
|
||||
.totalTime {
|
||||
|
||||
@@ -76,6 +76,10 @@ export default function ProductDescription({ productInfo }) {
|
||||
|
||||
const _onClose = useCallback(()=>{
|
||||
dispatch(setHidePopup());
|
||||
// Restore focus to the description content after popup closes
|
||||
setTimeout(() => {
|
||||
Spotlight.focus('product-description-content');
|
||||
}, 100);
|
||||
},[dispatch])
|
||||
|
||||
// ProductDescription: Container 직접 사용 패턴
|
||||
|
||||
@@ -390,7 +390,7 @@ function PlayerOverlayContents({
|
||||
e.preventDefault();
|
||||
// tabIndexV2가 2일 때만 LiveChannelNext로 포커스
|
||||
if (tabContainerVersion === 2 && tabIndexV2 === 2) {
|
||||
Spotlight.focus('live-channel-next-button');
|
||||
Spotlight.focus('below-tab-shop-now-button');
|
||||
}
|
||||
}}
|
||||
onSpotlightDown={(e) => {
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
background-image: url("../../../../assets/images/btn/btn-video-cc-nor@3x.png");
|
||||
background-size: cover;
|
||||
position: absolute;
|
||||
right: 60px;
|
||||
top: 800px;
|
||||
right: 300px;
|
||||
top: 680px;
|
||||
z-index: 10;
|
||||
|
||||
&.videoVericalSubtitleButton {
|
||||
|
||||
@@ -21,8 +21,16 @@ export default function ShopNowButton({ onClick }) {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
// tabIndexV2가 2일 때만 CC 버튼으로 내려가기
|
||||
Spotlight.focus('player-subtitlebutton');
|
||||
Spotlight.focus('live-channel-next-button');
|
||||
};
|
||||
|
||||
const handleSpotlightLeft = (e) => {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
// tabIndexV2가 2일 때만 CC 버튼으로 내려가기
|
||||
Spotlight.focus('player-subtitlebutton');
|
||||
};
|
||||
|
||||
return (
|
||||
<div className={css.container}>
|
||||
<SpottableDiv
|
||||
@@ -31,6 +39,7 @@ export default function ShopNowButton({ onClick }) {
|
||||
spotlightId="below-tab-shop-now-button"
|
||||
onSpotlightUp={handleSpotlightUp}
|
||||
onSpotlightDown={handleSpotlightDown}
|
||||
onSpotlightLeft={handleSpotlightLeft}
|
||||
>
|
||||
<span className={css.buttonText}>SHOP NOW</span>
|
||||
</SpottableDiv>
|
||||
|
||||
@@ -196,7 +196,7 @@ export default function TabContainerV2({
|
||||
// tabIndex = 2 (ShopNowButton)
|
||||
const timeoutId = setTimeout(() => {
|
||||
Spotlight.focus('below-tab-shop-now-button');
|
||||
}, 100);
|
||||
}, 10);
|
||||
return () => clearTimeout(timeoutId);
|
||||
}
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user