react-native/React
Valentin Shergin 1b013cd30c Better TextInput: Fixing multiline <TextInput> insets and prepare for auto-expanding feature
Summary:
Several things:
 * The mess with insets was fixed. Previously we tried to compensate the insets difference with `UITextField` by adjusting `textContainerInset` property, moreover we delegated negative part of this compensation to the view inset. That was terrible because it breaks `contentSize` computation, complicates whole insets consept, complicates everything; it just was not right. Now we are fixing the top and left inset differences in different places. We disable left and right 5pt margin by setting `_textView.textContainer.lineFragmentPadding = 0` and we introduce top 5px inset as a DEFAULT value for top inset for common multiline <TextInput> (this value can be easilly overwritten in Javascript).
 * Internal layout and contentSize computations were unified and simplified.
 * Now we report `intrinsicContentSize` value to Yoga, one step before auto-expandable TextInput.

Depends on D4640207.

Reviewed By: mmmulani

Differential Revision: D4645921

fbshipit-source-id: da5988ebac50be967caecd71e780c014f6eb257a
2017-03-20 00:02:55 -07:00
..
Base RCTRootView is now has empty autoresizing mask by default 2017-03-19 22:01:56 -07:00
CxxBridge Extract module registry creation to helper 2017-03-17 07:08:14 -07:00
CxxModule Extract module registry creation to helper 2017-03-17 07:08:14 -07:00
CxxUtils Move RCTFollyConvert to the correct namespace 2017-02-16 06:59:27 -08:00
DevSupport Add a RCTPackagerClientMethod handler for pokeSamplingProfiler in DevMenu 2017-02-24 08:30:50 -08:00
Executors Fixes current CI failures and allows tree shaking of native dev support code. 2017-02-27 14:04:58 -08:00
Modules Better TextInput: Fixing multiline <TextInput> insets and prepare for auto-expanding feature 2017-03-20 00:02:55 -07:00
Profiler Don't call libc malloc and free directly from assembly 2017-03-16 12:34:06 -07:00
React.xcodeproj Introduce `DeviceInfo` as a new native module 2017-03-17 17:01:57 -07:00
ReactCxx.xcodeproj Introduce `DeviceInfo` as a new native module 2017-03-17 17:01:57 -07:00
Views Fixed issue where setting `zero scale` transfrom matrix to UIView brokes `hitTest` mechanism 2017-03-19 22:01:55 -07:00
folly.xcconfig Update Boost dependency to 1.63 on iOS 2017-03-10 05:45:28 -08:00