Socket
Socket
Sign inDemoInstall

@vaadin/vaadin-dialog

Package Overview
Dependencies
Maintainers
16
Versions
262
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/vaadin-dialog - npm Package Compare versions

Comparing version 2.3.0-alpha2 to 2.3.0-alpha3

2

package.json

@@ -13,3 +13,3 @@ {

"name": "@vaadin/vaadin-dialog",
"version": "2.3.0-alpha2",
"version": "2.3.0-alpha3",
"main": "vaadin-dialog.js",

@@ -16,0 +16,0 @@ "author": "Vaadin Ltd",

@@ -23,4 +23,5 @@ /**

const isContentPart = e.target === this.$.overlay.$.content;
if ((isResizerContainer && !isResizerContainerScrollbar) || isContentPart) {
e.preventDefault();
const isDraggable = e.target.classList.contains('draggable');
if ((isResizerContainer && !isResizerContainerScrollbar) || isContentPart || isDraggable) {
!isDraggable && e.preventDefault();
this._originalBounds = this._getOverlayBounds();

@@ -27,0 +28,0 @@ const event = this.__getMouseOrFirstTouchEvent(e);

@@ -162,3 +162,3 @@ /**

static get version() {
return '2.3.0-alpha2';
return '2.3.0-alpha3';
}

@@ -229,2 +229,6 @@

* Set to true to enable repositioning the dialog by clicking and dragging.
*
* By default, only the overlay area can be used to drag the element. But,
* a child element can be marked as a draggable area by adding a
* "`draggable`" class to it.
*/

@@ -231,0 +235,0 @@ draggable: {

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