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.4.0 to 2.4.1

6

lib/TextareaAutosize.js

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

// Re-render with the new content then recalculate the height as required.
this.clearNextFrame();
this.onNextFrameActionId = onNextFrame(this._resizeComponent);

@@ -99,2 +100,7 @@ }

//been unmounted
this.clearNextFrame();
}
}, {
key: 'clearNextFrame',
value: function clearNextFrame() {
if (this.onNextFrameActionId) {

@@ -101,0 +107,0 @@ clearNextFrameAction(this.onNextFrameActionId);

2

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