[카트 포커스 관련 추가 수정]
- 체크아웃에서 오른쪽이동하지않는 현상때문에 수정. - 마커 안쪽으로 이동.
This commit is contained in:
@@ -274,12 +274,11 @@ const CartProduct = ({ cartInfo, getScrollTo, scrollTop }) => {
|
|||||||
{Object.entries(groupedCartData).map(([partnerKey, group],index) => {
|
{Object.entries(groupedCartData).map(([partnerKey, group],index) => {
|
||||||
const totals = calculatePartnerTotal(group.items);
|
const totals = calculatePartnerTotal(group.items);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div key={partnerKey}>
|
<Container className={css.productBox} spotlightId={"cartProduct_" + index} key={partnerKey}>
|
||||||
{index === 0 && (
|
{index === 0 && (
|
||||||
<div className={css.scrollMarker} id="cartFocus_0"></div>
|
<div className={css.scrollMarker} id="cartFocus_0"></div>
|
||||||
)}
|
)}
|
||||||
<Container className={css.productBox} spotlightId={"cartProduct_" + index}>
|
|
||||||
<div className={css.partnerSection}>
|
<div className={css.partnerSection}>
|
||||||
{/* 파트너사 정보 - 한 번만 표시 */}
|
{/* 파트너사 정보 - 한 번만 표시 */}
|
||||||
<div className={css.productCompany}>
|
<div className={css.productCompany}>
|
||||||
@@ -444,7 +443,7 @@ const CartProduct = ({ cartInfo, getScrollTo, scrollTop }) => {
|
|||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
</Container>
|
</Container>
|
||||||
</div>
|
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user