Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-textarea-autosize versions available: 5.0.0 #2169

Closed
dependencies bot opened this issue Oct 29, 2017 · 1 comment
Closed

react-textarea-autosize versions available: 5.0.0 #2169

dependencies bot opened this issue Oct 29, 2017 · 1 comment
Assignees

Comments

@dependencies
Copy link

dependencies bot commented Oct 29, 2017

There are new versions of react-textarea-autosize available from npm.

5.0.0

BREAKING CHANGES

  • dropped support for reading internally (for DOM measurements) prefixed box-sizing
  • dropped support for proxy (to underlaying DOM node) methods on the instance - value, selectionStart , selectionEnd setters/getters, focus and blur (accessible before through ref on the component). If you need access to those please use inputRef prop to get ref of the underlaying DOM node and use native methods on it
  • dropped support for the valueLink prop which supported using LinkedStateMixin which is deprecated since React 15
  • dropped rows prop alias, please use minRows instead (previously it was the same thing anyway)

NEW IN THE RELEASE

  • passing this as second argument to the onHeightChange callback
  • providing rowCount property on the instance which is the reason why this is passed to onHeightChange - so the rowCount may be accessed, this is for now the only prop supported that you may access, please do not use any internal stuff
  • using incrementing uid as cache key - important when using useCacheForDOMMeasurements prop, providing id or name to the component is no longer required for the cache to work
@Hypnosphi
Copy link
Member

Duplicate of #2154

@Hypnosphi Hypnosphi marked this as a duplicate of #2154 Oct 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant