Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

react-textarea-autosize

Package Overview
Dependencies
Maintainers
2
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-textarea-autosize - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

2

lib/calculateNodeHeight.js

@@ -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",

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