-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SP3] 메인 하단 파트 구성 섹션 반응형 #317
Conversation
src/hooks/useInfiniteCarousel.ts
Outdated
const endX = e.changedTouches[0].clientX; | ||
const deltaX = touchStartX - endX; | ||
if (deltaX > SWIPE_THRESHOLD) { | ||
handleCarouselSwipe(1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const PLUS = 1;
const MINUS = -1;
요런거 하면 어떨까요. .?
handleCarouselSwipe에서 받는 direction 값도 PLUS | MINUS 해도 좋을 것 같습니당
initial="initial" | ||
whileInView="visible" | ||
variants={contentDraw} | ||
style={{ position: 'absolute', ...style, ...responsiveStyle }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
포지션 absolute인 부분도 S.Keyword 안에 넣어도 괜찮을 것 가타용
Summary
Screenshot
2023-12-14.5.03.19.mov
Comment