[SHOPTIME-4912] 미국 / Travel 테마 / 호텔 이미지 1개만 노출됨 ( http://hlm.lge.com/issue/browse/SHOPTIME-4912 )
[원인] isOnTop을 내리지않아 ThemeIndicatorArrow component가 랜더링되지 않음 [수정사항] isOnTop props 전달
This commit is contained in:
@@ -36,6 +36,7 @@ const Container = SpotlightContainerDecorator(
|
||||
"div"
|
||||
);
|
||||
export default function HotelOption({
|
||||
isOnTop,
|
||||
panelInfo,
|
||||
launchedFromPlayer,
|
||||
selectedIndex,
|
||||
@@ -262,6 +263,7 @@ export default function HotelOption({
|
||||
setSelectedIndex={setSelectedIndex}
|
||||
thumbnailUrls={hotelInfos[selectedIndex]?.hotelDetailInfo.imgUrls}
|
||||
launchedFromPlayer={launchedFromPlayer}
|
||||
isOnTop={isOnTop}
|
||||
/>
|
||||
|
||||
<IndicatorOptions
|
||||
|
||||
@@ -312,16 +312,6 @@ function ThemeIndicator({
|
||||
[isOnTop]
|
||||
);
|
||||
|
||||
// useEffect(() => {
|
||||
// if (
|
||||
// imageLength === (imageSelectedIndex || 1) ||
|
||||
// (!themeProductInfo?.prdtMediaUrl &&
|
||||
// imageLength - 1 === imageSelectedIndex)
|
||||
// ) {
|
||||
// Spotlight.focus("thumbnailPrevButton");
|
||||
// }
|
||||
// }, [canPlayVideo, imageSelectedIndex]);
|
||||
|
||||
const renderThumbnail = useCallback(() => {
|
||||
return (
|
||||
<div className={css.thumbnailContainer}>
|
||||
|
||||
Reference in New Issue
Block a user