fix: PullToRefresh로 인해 스크롤이 튕기는 에러 수정
#92
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📝 PR 설명
스크롤 튕기는 에러 수정
PullToRefresh컴포넌트로 인해 스크롤이 튕기는 에러를 수정했습니다.isPulling값을 React state로 관리하도록 해서 touchstart, touchmove, touchend 이벤트 리스너가 이 값을 공유할 수 있도록 했습니다.handleTouchEnd에서window.scrollTo를 제거해서 스크롤을 방해하지 않도록 수정했습니다.🏷️ Jira
WISH-435
👀 비고
리뷰어가 참고해야 할 사항이 있으면 적어주세요.