Socket
Socket
Sign inDemoInstall

react-element-pan

Package Overview
Dependencies
1
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

2

element-pan.js

@@ -104,3 +104,3 @@ (function(root, factory) {

this.el.scrollLeft = Math.min(
this.state.maxY - this.state.elWidth,
this.state.maxX - this.state.elWidth,
this.state.scrollX - (x - this.state.startX)

@@ -107,0 +107,0 @@ );

{
"name": "react-element-pan",
"version": "1.0.0",
"version": "1.0.1",
"description": "React component for allowing panning of DOM-elements too large for their container, in a Google Maps-like way.",

@@ -5,0 +5,0 @@ "main": "element-pan.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc