GithubHelp home page GithubHelp logo

Comments (3)

diegonvs avatar diegonvs commented on June 24, 2024

Could you give me more details @p2kmgcl? Are you needing a new emmiter like Drag.Events.INTERACT, that will be emitted when have any interactions in sources elements before a START for example?

from metal-plugins.

p2kmgcl avatar p2kmgcl commented on June 24, 2024

When an item is added as metal-drag-drop source, metal captures mousedown event, and for that reason links and buttons stop working.

In this case:

screenshot_2019-01-15_16-29-27

We needed to add a drag handler, because otherwise the item is not clickable anymore.

from metal-plugins.

diegonvs avatar diegonvs commented on June 24, 2024

This behaviour occurs when useShim option isn't not setted to false. When you don’t pass false for this option, a DragShim is enabled for your Drag instance. basically this shim is used to attach events of Drag move and end like mousemove and mouseup to a shim element that can be placed above the document do hear these events. This functionality is important for dragging nodes over iframes. If false, these events of Drag move and end will be attached in the document πŸ™‚

from metal-plugins.

Related Issues (20)

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.