New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

azdnd

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azdnd - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

18

draggable/draggable.js

@@ -82,4 +82,4 @@ import { diffPosition, dndEvent, dndState, getDocHeight, getDocScrollLeft, getDocScrollTop, getDocWidth, getPositionState, isOutside, isTouchDevice, siblings } from '/node_modules/azdom/utils.js';

me.scrollW; // scrolled distance
me.parentScrollN;
me.parentScrollE;
me.parentScrollE;
me.parentScrollS;

@@ -395,4 +395,4 @@ me.parentScrollW; // parent scrolled distance

// me.containerScrollW = -document.documentElement.scrollTop;
me.containerScrollN = -getDocScrollLeft();
me.containerScrollW = -getDocScrollTop();
me.containerScrollW = -getDocScrollLeft();
me.containerScrollN = -getDocScrollTop();
me.containerScrollS = getDocHeight();

@@ -450,3 +450,3 @@ me.containerScrollE = getDocWidth();

const pb = parent.getBoundingClientRect();
me.parentScrollE = pb.top + getDocScrollTop();
me.parentScrollN = pb.top + getDocScrollTop();
me.parentScrollE = pb.right + getDocScrollLeft();

@@ -484,3 +484,3 @@ me.parentScrollS = pb.bottom + getDocScrollTop();

me.W = me.scrollW - me.parentScrollW - me.marginW - me.parentBorderW;
me.N = me.scrollN - me.parentScrollE - me.marginN - me.parentBorderN;
me.N = me.scrollN - me.parentScrollN - me.marginN - me.parentBorderN;
me.E = -me.scrollE + me.parentScrollE - me.marginE - me.parentBorderE;

@@ -544,3 +544,3 @@ me.S = -me.scrollS + me.parentScrollS - me.marginS - me.parentBorderS;

const me = this;
if (me.containerScrollW === undefined || me.detachedY) {
if (me.containerScrollN === undefined || me.detachedY) {
me.selected.style.bottom = 'auto';

@@ -551,3 +551,3 @@ me.selected.style.top = me.N + dy + 'px';

// console.log('hit ceiling');
const di = me.containerScrollN + me.containerBorderN + me.containerPaddingN - (me.parentScrollE + me.parentBorderN + me.parentPaddingN);
const di = me.containerScrollN + me.containerBorderN + me.containerPaddingN - (me.parentScrollN + me.parentBorderN + me.parentPaddingN);
me.selected.style.bottom = 'auto';

@@ -590,3 +590,3 @@ me.selected.style.top = me.parentPaddingN + di + 'px';

const me = this;
if (me.containerScrollW === undefined || me.detachedY) {
if (me.containerScrollN === undefined || me.detachedY) {
me.selected.style.bottom = 'auto';

@@ -633,3 +633,3 @@ me.selected.style.top = me.N + dy + 'px';

const me = this;
if (me.containerScrollW === undefined || me.detachedY) {
if (me.containerScrollN === undefined || me.detachedY) {
me.selected.style.bottom = 'auto';

@@ -636,0 +636,0 @@ me.selected.style.top = me.N + dy + 'px';

{
"name": "azdnd",
"version": "0.0.3",
"version": "0.0.4",
"description": "A drag and drop ui manager.",

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

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