issue#5 : <SwiperSlider>의 자식 요소 위를 드래그 할 때, swiper가 작동하지 않는 문제 #6
fzdf0613
started this conversation in
Issue 해결 정리
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Link
원인
Swiper의 이벤트와 내부 버튼의 이벤트에 대한 브라우저의 기본 동작 충돌인 것으로 보임
해결방안
방법 1.
내부 버튼의 mousedown 이벤트에 preventDefault 적용
방법 2.
Swiper의 touchStartForcePreventDefault를 true로 설정
#

Beta Was this translation helpful? Give feedback.
All reactions