Open AndreyFedarovich opened 5 years ago
I have the same problem and have a <nuxt-link>
inside <slide>
. Each mouse drag is triggering the link click, which I do not want. A drag should slide and a click should link. Is there a way to achieve this? (also commented in connected issue #138)
Hello! Is there any news about this bug? Maybe there is some hack?
Also having the same issue and it's a definite deal-breaker!
Same here, any one found a hack ? Or any one found a better slider ? :)
hooper(
:settings="cardsHooper"
)
slide(v-for="(project, index) in projectsData" :key="index")
div(@click="goToProjectPage($event, project)")
CommonProjectCard(:projectData="project")
methods: {
goToProjectPage(event, project) {
if (this.$refs.projectsCarousel.isSliding) {
event.preventDefault()
} else {
//go to link
console.log(project)
}
},
},
Hope this helps 😁
Describe the bug If the entire contents of the slide link, after the MouseDrag event the user will redirect to this link.
Expected behavior to stay on the same page