Skip to content

Commit

Permalink
fix: specific components of Carousel cannot be redirected when clicked (
Browse files Browse the repository at this point in the history
#210)

onMouseDown 이벤트가 href의 상위에 걸려있어서 링크로의 리다이렉션이 동작하지 않음.
  • Loading branch information
soonki-98 committed Oct 16, 2022
1 parent 1fabe82 commit 5ab29a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/Carousel/hooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ const useCarousel = ({
itemLength,
transitionTime,
listeners: {
onMouseDown,
onMouseUp,
// onMouseDown,
// onMouseUp,
onTouchEnd,
onTouchStart,
showNext,
Expand Down

0 comments on commit 5ab29a7

Please sign in to comment.