+ {shouldShowExtendedControls && playListInfo.length > 1 && noLiveContentsVisible && (
<>
@@ -247,8 +283,10 @@ function PlayerOverlayContents({
)}
onClick={handleSubtitleOnClick}
spotlightId="player-subtitlebutton"
- onSpotlightUp={onSpotlightMoveTabButton}
- onSpotlightLeft={onSpotlightMoveMediaButton}
+ onSpotlightUp={onSpotlightMoveBackButton}
+ onSpotlightLeft={onSpotlightMoveBackButton}
+ onSpotlightRight={onSpotlightMoveMediaButton}
+ onSpotlightDown={onSpotlightMoveMediaButton}
aria-label="Caption"
/>
@@ -263,6 +301,8 @@ function PlayerOverlayContents({
? onSpotlightMoveBelowTab
: onSpotlightMoveMediaButton
}
+ onSpotlightRight={onSpotlightMoveSubtitleButton}
+ onSpotlightUp={onSpotlightMoveSubtitleButton}
aria-label="Video Player Close"
ref={backBtnRef}
/>
@@ -312,7 +352,8 @@ const propsAreEqual = (prev, next) => {
prev.sideContentsVisible === next.sideContentsVisible &&
prev.belowContentsVisible === next.belowContentsVisible &&
prev.tabContainerVersion === next.tabContainerVersion &&
- prev.tabIndexV2 === next.tabIndexV2
+ prev.tabIndexV2 === next.tabIndexV2 &&
+ prev.forceShowMediaOverlay === next.forceShowMediaOverlay
);
};
diff --git a/com.twin.app.shoptime/src/views/SearchPanel/SearchResultsNew/ItemCard.jsx b/com.twin.app.shoptime/src/views/SearchPanel/SearchResultsNew/ItemCard.jsx
index 2a8aeb77..722e1ecc 100644
--- a/com.twin.app.shoptime/src/views/SearchPanel/SearchResultsNew/ItemCard.jsx
+++ b/com.twin.app.shoptime/src/views/SearchPanel/SearchResultsNew/ItemCard.jsx
@@ -4,11 +4,7 @@ import { useDispatch } from 'react-redux';
import Spotlight from '@enact/spotlight';
-import {
- pushPanel,
- updatePanel,
-} from '../../../actions/panelActions';
-import { navigateToDetailPanel } from '../../../actions/panelNavigationActions';
+import { pushPanel, updatePanel, navigateFromSearch } from '../../../actions/panelActions';
import TItemCardNew from '../../../components/TItemCard/TItemCard.new';
import TScroller from '../../../components/TScroller/TScroller';
import { panel_names } from '../../../utils/Config';
@@ -49,14 +45,16 @@ const ItemCard = ({ onClick, itemInfo, searchQuery }) => {
onClick(ev);
}
- // 순차 네비게이션 사용 (Chrome 68 호환)
- dispatch(navigateToDetailPanel(
- patnrId,
- prdtId,
- searchQuery,
- currentSpot,
- { tab: 0 }
- ));
+ // 통합된 navigateToDetail 사용
+ dispatch(
+ navigateFromSearch({
+ patnrId,
+ prdtId,
+ searchQuery,
+ currentSpot,
+ additionalInfo: { tab: 0 },
+ })
+ );
},
[onClick, dispatch, searchQuery]
);
@@ -65,7 +63,7 @@ const ItemCard = ({ onClick, itemInfo, searchQuery }) => {
<>
{itemInfo.map((item, index) => {
- const { thumbnail, title, dcPrice, price, soldout, contentId,euEnrgLblInfos } = item;
+ const { thumbnail, title, dcPrice, price, soldout, contentId, euEnrgLblInfos } = item;
const tokens = contentId && contentId.split('_');
const patnrId = tokens?.[4] || '';
const prdtId = tokens?.[5] || '';