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

react-big-calendar

Package Overview
Dependencies
Maintainers
2
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-big-calendar - npm Package Compare versions

Comparing version 0.24.1 to 0.24.2

10

lib/addons/dragAndDrop/EventContainerWrapper.js

@@ -99,2 +99,3 @@ "use strict";

var node = (0, _reactDom.findDOMNode)((0, _assertThisInitialized2.default)(_this));
var isBeingDragged = false;
var selector = _this._selector = new _Selection.default(function () {

@@ -135,6 +136,9 @@ return node.closest('.rbc-time-view');

selector.on('selectStart', function () {
return _this.context.draggable.onStart();
isBeingDragged = true;
_this.context.draggable.onStart();
});
selector.on('select', function (point) {
var bounds = (0, _Selection.getBoundsForNode)(node);
isBeingDragged = false;
if (!_this.state.event || !pointInColumn(bounds, point)) return;

@@ -145,3 +149,5 @@

selector.on('click', function () {
return _this.context.draggable.onEnd(null);
if (isBeingDragged) _this.reset();
_this.context.draggable.onEnd(null);
});

@@ -148,0 +154,0 @@ selector.on('reset', function () {

2

package.json
{
"name": "react-big-calendar",
"version": "0.24.1",
"version": "0.24.2",
"description": "Calendar! with events",

@@ -5,0 +5,0 @@ "author": {

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