@sendgrid/ui-components
Advanced tools
Comparing version 1.44.12 to 1.44.13
@@ -30,5 +30,3 @@ var __rest = (this && this.__rest) || function (s, e) { | ||
if (this.state.active) { | ||
document.addEventListener('click', this.dismissDropdown, { | ||
capture: true, | ||
}); | ||
document.addEventListener('click', this.dismissDropdown); | ||
} | ||
@@ -35,0 +33,0 @@ }); |
@@ -27,5 +27,3 @@ var __rest = (this && this.__rest) || function (s, e) { | ||
if (active) { | ||
document.addEventListener('click', this.dismissDropdown, { | ||
capture: true, | ||
}); | ||
document.addEventListener('click', this.dismissDropdown); | ||
} | ||
@@ -32,0 +30,0 @@ return { active }; |
{ | ||
"name": "@sendgrid/ui-components", | ||
"version": "1.44.12", | ||
"version": "1.44.13", | ||
"description": "Reusable UI components for Sendgrid's applications.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -12,3 +12,3 @@ import React from 'react'; | ||
if (editing) { | ||
document.addEventListener('click', this.submit, { capture: true }); | ||
document.addEventListener('click', this.submit); | ||
} | ||
@@ -46,3 +46,3 @@ return { editing }; | ||
if (this.props.editing) { | ||
document.addEventListener('click', this.submit, { capture: true }); | ||
document.addEventListener('click', this.submit); | ||
} | ||
@@ -49,0 +49,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
980468
9393