File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed
Libraries/Components/View Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -63,10 +63,9 @@ if (__DEV__) {
63
63
ViewToExport = React . forwardRef ( ( props , ref ) => (
64
64
< TextAncestor . Consumer >
65
65
{ hasTextAncestor => {
66
- // TODO: Change iOS to behave the same as Android.
67
66
invariant (
68
- ! hasTextAncestor || Platform . OS !== 'android' ,
69
- 'Nesting of <View> within <Text> is not supported on Android .' ,
67
+ ! hasTextAncestor ,
68
+ 'Nesting of <View> within <Text> is not currently supported .' ,
70
69
) ;
71
70
return < RCTView { ...props } ref = { ref } /> ;
72
71
} }
Original file line number Diff line number Diff line change @@ -872,14 +872,6 @@ exports.examples = [
872
872
style = { styles . multiline }
873
873
dataDetectorTypes = "phoneNumber"
874
874
/>
875
- < TextInput
876
- placeholder = "multiline with children"
877
- multiline = { true }
878
- enablesReturnKeyAutomatically = { true }
879
- returnKeyType = "go"
880
- style = { styles . multiline } >
881
- < View style = { styles . multilineChild } />
882
- </ TextInput >
883
875
</ View >
884
876
) ;
885
877
}
You can’t perform that action at this time.
0 commit comments