핫픽스에서 호텔디테일 들어갔을때 포커싱 변경건.
This commit is contained in:
@@ -411,6 +411,7 @@ export default function DetailPanel({ panelInfo, isOnTop, spotlightId }) {
|
||||
setSelectedIndex={setSelectedIndex}
|
||||
shopByMobileLogRef={shopByMobileLogRef}
|
||||
themeType={type}
|
||||
isLoading={isLoading}
|
||||
/>
|
||||
)}
|
||||
</TBody>
|
||||
|
||||
@@ -37,6 +37,7 @@ export default function HotelOption({
|
||||
selectedIndex,
|
||||
setSelectedIndex,
|
||||
shopByMobileLogRef,
|
||||
isLoading,
|
||||
}) {
|
||||
const dispatch = useDispatch();
|
||||
|
||||
@@ -220,8 +221,8 @@ export default function HotelOption({
|
||||
}, [hotelInfos, selectedIndex]);
|
||||
|
||||
useEffect(() => {
|
||||
Spotlight.focus("seemore_Btn");
|
||||
}, [hotelInfos]);
|
||||
Spotlight.focus("Indicator-image-" + selectedIndex);
|
||||
}, [hotelInfos, isLoading]);
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
@@ -16,6 +16,7 @@ export default function ThemeProduct({
|
||||
setSelectedIndex,
|
||||
shopByMobileLogRef,
|
||||
themeType,
|
||||
isLoading,
|
||||
}) {
|
||||
return (
|
||||
<div className={css.container}>
|
||||
@@ -40,6 +41,7 @@ export default function ThemeProduct({
|
||||
selectedIndex={selectedIndex}
|
||||
setSelectedIndex={setSelectedIndex}
|
||||
shopByMobileLogRef={shopByMobileLogRef}
|
||||
isLoading={isLoading}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user