Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-draggable

Package Overview
Dependencies
Maintainers
2
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-draggable - npm Package Compare versions

Comparing version 0.8.2 to 0.8.3

2

bower.json
{
"name": "react-draggable",
"version": "0.8.2",
"version": "0.8.3",
"homepage": "https://github.com/mzabriskie/react-draggable",

@@ -5,0 +5,0 @@ "authors": [

@@ -108,1 +108,4 @@ # Changelog

### 0.8.3 (Oct 12, 2015)
- Bugfix: Short-circuiting drag throws due to `e.changedTouches` check.

@@ -521,3 +521,3 @@ 'use strict';

}
// Make it possible to attach event handlers on top of this one

@@ -569,3 +569,3 @@ this.props.onMouseDown(e);

return;
}
}

@@ -614,3 +614,3 @@ removeUserSelectStyles(this);

var shouldUpdate = this.props.onDrag(e, createUIEvent(this));
if (shouldUpdate === false) return this.handleDragEnd();
if (shouldUpdate === false) return this.handleDragEnd({});

@@ -617,0 +617,0 @@ // Update transform

{
"name": "react-draggable",
"version": "0.8.2",
"version": "0.8.3",
"description": "React draggable component",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -68,3 +68,3 @@ # react-draggable [![Build Status](https://travis-ci.org/mzabriskie/react-draggable.svg?branch=master)](https://travis-ci.org/mzabriskie/react-draggable)

**`moveOnStartChange`**: if true (it defaults false), will move the element if there is a change in `start`. We set this by default to `false` because it can cause unwanted effects if you are not aware of it.
**`moveOnStartChange`**: if true (it defaults false), will move the element if there is a change in `start`. It won't work if the start is changed in the middle of a drag. We set this by default to `false` because it can cause unwanted effects if you are not aware of it.

@@ -143,2 +143,4 @@ **`zIndex`**: specifies the zIndex to use while dragging.

You **can't** update the `start` position during a drag. See [#94](https://github.com/mzabriskie/react-draggable/issues/94).
## Dragging images

@@ -145,0 +147,0 @@

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