react-input-autosize
Advanced tools
Changelog
v3.0.0 / 2020-12-11
This release adds support for React 17 and removes usage of UNSAFE React lifecycle methods, thanks to Nathan Bierema.
It should be a fairly painless major upgrade since the API hasn't been changed at all. It's being published as 3.0.0
because the peer dependency range has been updated and the internal implementation has changed.
Changelog
v2.2.1 / 2018-01-10
Changelog
v2.2.0 / 2018-01-09
extraWidth
prop allows you to customise how much width is added to the detected widthChangelog
v2.1.2 / 2017-11-27
window
reference is now guarded for SSR support, thanks Wout MertensChangelog
v2.1.1 / 2017-11-26
props.id
was overriding the internal inputId
on the input element, but not being used in the stylesheetChangelog
v2.1.0 / 2017-11-23
injectStyles
prop controls whether the IE stylesheet it injectedboxSizing
and width
styles via inputStyles
, thanks Mike FangerChangelog
v2.0.0 / 2017-09-12
create-react-class
As of 2.0.0 this package exports an es6 module in the main entry
(/lib/AutoSizeInput.js
). If you are in an older environment, you'll need to
refer to the .default
export:
var AutoSizeInput = require('react-input-autosize').default;
Aside from this, the new version doesn't change any public API.
Changelog
v1.2.0 / 2017-09-12
inputRef
prop (function, passed the reference to the input node)copyInputStyles()
never running, thanks Michael Elsdörfer