SHOPTIME-4011 home onsale 클릭시 nav 포커스
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user