react-best-gradient-color-picker
Advanced tools
Comparing version 1.4.11 to 1.4.12
@@ -30,4 +30,4 @@ import React, { useRef, useState, useEffect } from "react"; | ||
useEffect(() => { | ||
setBounds(boundingRect); | ||
setTimeout(() => setBounds(boundingRect), 150); | ||
setBounds(contRef?.current?.getBoundingClientRect()); | ||
setTimeout(() => setBounds(contRef?.current?.getBoundingClientRect()), 150); | ||
}, [bottom, height, left, right, top]); | ||
@@ -34,0 +34,0 @@ return /*#__PURE__*/React.createElement("div", { |
{ | ||
"name": "react-best-gradient-color-picker", | ||
"version": "1.4.11", | ||
"version": "1.4.12", | ||
"description": "An easy to use color/gradient picker for React.js", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -16,4 +16,4 @@ import React, { useRef, useState, useEffect } from "react" | ||
useEffect(() => { | ||
setBounds(boundingRect) | ||
setTimeout(() => setBounds(boundingRect), 150) | ||
setBounds(contRef?.current?.getBoundingClientRect()) | ||
setTimeout(() => setBounds(contRef?.current?.getBoundingClientRect()), 150) | ||
}, [bottom, height, left, right, top]) | ||
@@ -20,0 +20,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
69147