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 3.3.0 to 3.3.1

4

lib/calculateNodeHeight.js

@@ -11,5 +11,5 @@ /**

exports['default'] = calculateNodeHeight;
var HIDDEN_TEXTAREA_STYLE = '\n min-height:none !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n';
var HIDDEN_TEXTAREA_STYLE = '\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n';
var SIZING_STYLE = ['letter-spacing', 'line-height', 'padding-top', 'padding-bottom', 'font-family', 'font-weight', 'font-size', 'text-rendering', 'text-transform', 'width', 'padding-left', 'padding-right', 'border-width', 'box-sizing'];
var SIZING_STYLE = ['letter-spacing', 'line-height', 'padding-top', 'padding-bottom', 'font-family', 'font-weight', 'font-size', 'text-rendering', 'text-transform', 'width', 'text-indent', 'padding-left', 'padding-right', 'border-width', 'box-sizing'];

@@ -16,0 +16,0 @@ var computedStyleCache = {};

@@ -241,4 +241,4 @@ /**

*/
set: function set(val) {
this._rootDOMNode.selectionStart = val;
set: function set(selectionStart) {
this._rootDOMNode.selectionStart = selectionStart;
}

@@ -258,4 +258,4 @@

*/
set: function set(val) {
this._rootDOMNode.selectionEnd = val;
set: function set(selectionEnd) {
this._rootDOMNode.selectionEnd = selectionEnd;
}

@@ -262,0 +262,0 @@ }]);

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