Please sign in to comment.
BREAKING: Better TextInput: `contentSize` property was removed from `…
…<TextInput>.onChange` event (Second attempt) Summary: `contentSize` was removed from both iOS and Android, tests was updated. USE `onContentSizeChange` INSTEAD. Why? * It always was a hack; * We already have dedicated event for it: `onContentSizeChange`; * `onChange` has nothing to do with layout actually; * We have to maintain `onChange` handler as fast and simple as possible, this feature complicates it a lot; * It was undocumented feature; * We already have native auto-expandable <TextInput>, so it illuminates 99% current use cases of this feature. Reviewed By: mmmulani Differential Revision: D4989881 fbshipit-source-id: 674bb98c89ada1fca7b3b20b304736b2a3b8304e
- Loading branch information...
Showing with 0 additions and 47 deletions.