[홈패널] 스타트 포커스 추가
This commit is contained in:
@@ -69,6 +69,10 @@ export default function HomeBannerTemplate1() {
|
||||
}
|
||||
}, [homeMainContentsBannerInfos, dispatch]);
|
||||
|
||||
useEffect(() => {
|
||||
Spotlight.focus("top", { enterTo: "topmost" });
|
||||
}, [dispatch, bannerInfos]);
|
||||
|
||||
return (
|
||||
<Container className={css.container} spotlightId={"top"}>
|
||||
<div className={css.homeTemplateBox}>
|
||||
|
||||
@@ -71,6 +71,10 @@ export default function HomeBannerTemplate2({ ...rest }) {
|
||||
}
|
||||
}, [homeMainContentsBannerInfos, dispatch]);
|
||||
|
||||
useEffect(() => {
|
||||
Spotlight.focus("top", { enterTo: "topmost" });
|
||||
}, [dispatch, bannerInfos]);
|
||||
|
||||
return (
|
||||
<Container className={css.container} spotlightId="top">
|
||||
<div className={css.homeTemplateBox}>
|
||||
|
||||
@@ -72,6 +72,10 @@ export default function HomeBannerTemplate3({ ...rest }) {
|
||||
}
|
||||
}, [homeMainContentsBannerInfos, dispatch]);
|
||||
|
||||
useEffect(() => {
|
||||
Spotlight.focus("top", { enterTo: "topmost" });
|
||||
}, [dispatch, bannerInfos]);
|
||||
|
||||
return (
|
||||
<Container className={css.homeTemplateBox} spotlightId="top">
|
||||
<div className={css.mainBox}>
|
||||
|
||||
Reference in New Issue
Block a user