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.1.2 to 2.1.3

5

lib/TextareaAutosize.js

@@ -57,2 +57,3 @@ 'use strict';

props = _extends({}, props);
if (typeof valueLink === 'object') {

@@ -62,5 +63,7 @@ props.value = this.props.valueLink.value;

props.style = _extends({}, props.style, {
overflow: 'hidden',
height: this.state.height
});
if (!props.style.maxHeight || props.style.maxHeight > props.style.height) {
props.style.overflow = 'hidden';
}
return _React2['default'].createElement('textarea', _extends({}, props, { onChange: this._onChange }));

@@ -67,0 +70,0 @@ }

2

package.json
{
"name": "react-textarea-autosize",
"description": "textarea component for React which grows with content",
"version": "2.1.2",
"version": "2.1.3",
"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