dnd-multi-backend
Advanced tools
@@ -171,4 +171,8 @@ "use strict"; | ||
PreviewManager.backendChanged(_this2); | ||
var newBackend = _this2.backends[_this2.current]; | ||
newBackend.instance.setup(); | ||
_this2.backends[_this2.current].instance.setup(); | ||
if (newBackend.skipDispatchOnTransition) { | ||
return; | ||
} | ||
@@ -238,3 +242,4 @@ var newEvent = null; | ||
preview: backend.preview || false, | ||
transition: transition | ||
transition: transition, | ||
skipDispatchOnTransition: Boolean(backend.skipDispatchOnTransition) | ||
}); | ||
@@ -241,0 +246,0 @@ }); |
{ | ||
"name": "dnd-multi-backend", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "Multi Backend system compatible with DnD Core / React DnD", | ||
@@ -5,0 +5,0 @@ "author": "Louis Brunner <louis.brunner.fr@gmail.com> (https://github.com/LouisBrunner)", |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
15134
1.22%296
1.72%0
-100%