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

svelte-dnd-action

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-dnd-action - npm Package Compare versions

Comparing version 0.6.15 to 0.6.16

2

package.json

@@ -39,3 +39,3 @@ {

"description": "*An awesome drag and drop library for Svelte 3 (not using the browser's built-in dnd, thanks god): Rich animations, nested containers, touch support and more *",
"version": "0.6.15",
"version": "0.6.16",
"repository": {

@@ -42,0 +42,0 @@ "type": "git",

@@ -162,2 +162,6 @@ import {

case(" "): {
// we don't want to affect nested input elements
if (e.target.value !== undefined && !allDragTargets.has(e.target)) {
return;
}
e.preventDefault(); // preventing scrolling on spacebar

@@ -263,5 +267,2 @@ e.stopPropagation();

}
node.tabIndex = isDragging && (node === focusedDz || config.dropFromOthersDisabled || (focusedDz && config.type!==dzToConfig.get(focusedDz).type)) ? -1 : 0;
node.addEventListener('focus', handleZoneFocus);
if (config.type && newType !== config.type) {

@@ -274,2 +275,5 @@ unregisterDropZone(node, config.type);

node.tabIndex = isDragging && (node === focusedDz || config.dropFromOthersDisabled || (focusedDz && config.type !== dzToConfig.get(focusedDz).type)) ? -1 : 0;
node.addEventListener('focus', handleZoneFocus);
for (let i = 0; i < node.children.length ; i++) {

@@ -276,0 +280,0 @@ const draggableEl = node.children[i];

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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