react-textarea-autosize
Advanced tools
Comparing version 3.3.0 to 3.3.1
@@ -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", |
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
30394
332