hooper icon indicating copy to clipboard operation
hooper copied to clipboard

mouseDrag redirect bag

Open AndreyFedarovich opened this issue 5 years ago • 5 comments

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

AndreyFedarovich avatar Sep 24 '19 13:09 AndreyFedarovich

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)

donni106 avatar Oct 28 '19 12:10 donni106

Hello! Is there any news about this bug? Maybe there is some hack?

ukool avatar May 02 '20 19:05 ukool

Also having the same issue and it's a definite deal-breaker!

jak-kal avatar Jun 01 '20 11:06 jak-kal

Same here, any one found a hack ? Or any one found a better slider ? :)

badoubadou avatar Mar 25 '21 10:03 badoubadou

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 😁

bogdan12893 avatar Jul 15 '21 07:07 bogdan12893