react-textarea-autosize
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -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); |
{ | ||
"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", |
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
28276
266