[TrendingNow] Home > BestSeller / PopularShow 더보기 버튼으로 진입시 포커스 이슈 처리

This commit is contained in:
jiwon93.son
2024-06-19 15:46:11 +09:00
parent bd945b37c5
commit c55b270857
3 changed files with 34 additions and 19 deletions

View File

@@ -63,6 +63,7 @@ const BestSeller = ({ order, scrollTopBody, spotlightId, handleItemFocus }) => {
name: panel_names.TRENDING_NOW_PANEL,
panelInfo: {
pageName: "BS",
focusedContainerId: "trandingnow_bestseller",
},
})
);
@@ -89,12 +90,7 @@ const BestSeller = ({ order, scrollTopBody, spotlightId, handleItemFocus }) => {
return;
}
},
[
cursorVisible,
_handleItemFocus,
handleScrollReset,
scrollTopBody
]
[cursorVisible, _handleItemFocus, handleScrollReset, scrollTopBody]
);
const handleScrollRight = (e) => {
@@ -113,7 +109,12 @@ const BestSeller = ({ order, scrollTopBody, spotlightId, handleItemFocus }) => {
}, [handleItemFocus]);
return (
<Container className={css.bestSellerWrap} style={orderStyle} spotlightId={spotlightId} data-wheel-point={true}>
<Container
className={css.bestSellerWrap}
style={orderStyle}
spotlightId={spotlightId}
data-wheel-point={true}
>
<SectionTitle
title={$L("BEST SELLER")}
data-title-index="homeBestSellerTitle"
@@ -149,7 +150,7 @@ const BestSeller = ({ order, scrollTopBody, spotlightId, handleItemFocus }) => {
: rankOrd + "th";
return (
<TItemCard
key={"subItem"+itemIndex}
key={"subItem" + itemIndex}
imageAlt={prdtId}
imageSource={imgUrl}
priceInfo={priceInfo}