GithubHelp home page GithubHelp logo

Comments (7)

james2doyle avatar james2doyle commented on August 16, 2024

Hmm that is some weird behaviour. We are actually using code specifically to block redirects

Does this happen on other browsers?

from vue-drag-and-drop.

falloutghost avatar falloutghost commented on August 16, 2024

Works fine in Chrome Version 50.0.2661.86 (64-bit).
I'm on Ubuntu 15.10.

from vue-drag-and-drop.

falloutghost avatar falloutghost commented on August 16, 2024

I implemented my own solution in the meanwhile, and just noticed that I experience the same behavior as described above if I add event.stopPropagation() to my onDrop function. Without that, everything works fine (I didn't test this extensively though, it's for a backend application and I can assume that all clients are running Firefox).

I.e., you could consider removing lines 61--64 in vue.drag-and-drop.js.

from vue-drag-and-drop.

maple-leaf avatar maple-leaf commented on August 16, 2024

confirm this issue on firefox.

from vue-drag-and-drop.

Comp0ser avatar Comp0ser commented on August 16, 2024

+1 on firefox @ archlinux

#9

from vue-drag-and-drop.

StefanNeuser avatar StefanNeuser commented on August 16, 2024

+1 on firefox

An alert fix this issue but isnt a fine fix. Any ideas?

          if (e.stopPropagation) {
            // stops the browser from redirecting.
            alert("1"); 
            e.stopPropagation();
          }

from vue-drag-and-drop.

james2doyle avatar james2doyle commented on August 16, 2024

New version released. Should stop this issue: https://github.com/james2doyle/vue-drag-and-drop/releases/tag/2.1.0

from vue-drag-and-drop.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.