Socket
Socket
Sign inDemoInstall

mobile-drag-drop

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mobile-drag-drop - npm Package Versions

3.0.0-rc.0

Diff

Changelog

Source

3.0.0-rc.0 (2022-11-04)

Adds shadow dom support.

  • https://github.com/timruffles/mobile-drag-drop/pull/168
  • https://github.com/timruffles/mobile-drag-drop/pull/174

Thanks to @jogibear9988 and @johanquiroga :+1:

reppners
published 3.0.0-beta.0 •

reppners
published 2.3.0-rc.2 •

Changelog

Source

2.3.0-rc.2 (2019-07-21)

Adds custom events to enable visualize holdToDrag functionality, #150, see README

Thanks to @anwarjaved :+1:

Also will cancel pending dragstart if a touchmove event is detected during holdToDrag.

reppners
published 2.3.0-rc.1 •

Changelog

Source

2.3.0-rc.1 (2018-03-17)

Maintenance release candidate for improving holdToDrag functionality

  • improves logging of holdToDrag functionality
  • adds scroll listener for aborting scheduled drag operation in capture phase
reppners
published 2.3.0-rc.0 •

Changelog

Source

2.3.0-rc.0 (2018-01-22)

Maintenance release candidate containing bugfixes and API improvements.

  • refactoring to modular files because my scrollwheel broke ;)
  • special handling for canvas elements when creating drag image (fixes #120, thx to @johntdowney)
  • got rid of some build middleware (fixes #118)
  • remove DEBUG code to decrease size to 10.4kB minified
  • adds config functions to customize tryFindDraggableTarget(), dragImageSetup() and elementFromPoint()

The enhanced config API is intended to enable custom workarounds when the polyfill falls short.

reppners
published 2.2.1-rc.0 •

reppners
published 2.2.0 •

Changelog

Source

2.2.0 (2017-09-05)

holdToDrag option introduced in 1.x is now available in 2.x

Thanks to @altschuler and @matte00 :+1:

reppners
published 2.1.0 •

Changelog

Source

2.1.0 (2017-07-27)

This release adds a minor change to the API surface.

export function polyfill(override?: Config):boolean;

polyfill() will inform if the polyfill takes effect by returning true.

reppners
published 2.0.0 •

Changelog

Source

2.0.0 (2017-07-23)

Releasing the rewrite as stable 2.0.0 including a few breaking changes because of renaming.

BREAKING CHANGE

The github repository and released package is renamed from drag-drop-polyfill to mobile-drag-drop.

This changes how the package is installed and further how it is referenced.

BEFORE

import {polyfill} from "drag-drop-polyfill/drag-drop-polyfill"; import {scrollBehaviourDragImageTranslateOverride} from "drag-drop-polyfill/drag-drop-polyfill-scroll-behaviour";

AFTER

import {polyfill} from "mobile-drag-drop"; import {scrollBehaviourDragImageTranslateOverride} from "drag-drop-polyfill/scroll-behaviour";

Also the css files got shorter names which do not repeat the package name in their filename.

BEFORE

drag-drop-polyfill.css drag-drop-polyfill-icons.css

AFTER

default.css icons.css

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc