react-textarea-autosize
Advanced tools
Comparing version 2.3.0 to 2.3.1
@@ -80,3 +80,3 @@ 'use strict'; | ||
if (boxSizing === 'border-box') { | ||
heightAdjustment = parseFloat(compStyle.getPropertyValue('border-bottom')) + parseFloat(compStyle.getPropertyValue('border-top')); | ||
heightAdjustment = parseFloat(compStyle.getPropertyValue('border-bottom-width')) + parseFloat(compStyle.getPropertyValue('border-top-width')); | ||
} else if (boxSizing === 'content-box') { | ||
@@ -83,0 +83,0 @@ // remove padding, since height = content |
{ | ||
"name": "react-textarea-autosize", | ||
"description": "textarea component for React which grows with content", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Andrey Popp", |
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
27662