SHOPTIME-4011 home onsale 클릭시 nav 포커스

This commit is contained in:
opacity@t-win.kr
2025-06-26 15:21:41 +09:00
parent b50e231c31
commit 9efacf80c6

View File

@@ -24,6 +24,7 @@ import OnSaleContents from "./OnSaleContents/OnSaleContents";
import OnSaleNav from "./OnSaleNav/OnSaleNav";
import css from "./OnSalePanel.module.less";
import { updateHomeInfo } from "../../actions/homeActions";
import { use } from "react";
const getExpsOrdByLgCatCd = (array, value) => {
const expsOrd = array.findIndex(({ lgCatCd }) => value === lgCatCd) + 1;
@@ -318,6 +319,13 @@ export default function OnSalePanel({ panelInfo, spotlightId }) {
[dispatch, panelInfo.nowShelf]
);
useEffect(() => {
setTimeout(() => {
dispatch(changeAppStatus({ cursorVisible: false }));
Spotlight.setPointerMode(false);
}, 100);
}, []);
return (
<TPanel
className={css.tPanel}