You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constLinearLayout=requireNativeComponent('RNLinearLayout',{name: 'LinearLayout',propTypes: {
...View.propTypes}},{nativeOnly: {nativeBackgroundAndroid: true,nativeForegroundAndroid: true}})exportdefaultclassRNTestextendsComponent{render(){return(<LinearLayoutstyle={{flex: 1}}><Text>Linear Layout demo</Text><Text>The below view should be arranged in a row</Text><Viewstyle={{flexDirection: 'row',flex: 1}}><Text>Column 1</Text><Text>Column 2</Text></View><Text>But it is arranged in two different rows</Text></LinearLayout>);}}
Expected Behavior
Text Column 1 and Column 2 should be arranged in same line as shown above
Actual Behavior
Text Column 1 and Column 2 were arranged in 2 lines
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.
stalebot
added
the
Stale
There has been a lack of activity on this issue and it may be closed soon.
label
Nov 13, 2017
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
react-native -v
: 0.48.3node -v
: v8.4.0npm -v
: 5.4.1yarn --version
: 0.21.3Then, specify:
Steps to Reproduce
Example: Create a LinearLayout native UI component.
Expected Behavior
Text Column 1 and Column 2 should be arranged in same line as shown above
Actual Behavior
Text Column 1 and Column 2 were arranged in 2 lines
Reproducible Demo
https://github.com/rsreejithkrishnan/RNLinearLayoutTest
The text was updated successfully, but these errors were encountered: