Revert "Ensure that flex children adopt their parent's cross-axis min dimension."
This reverts commit b8316413b3
.
This was causing issues for existing components built with React
Native.. we need to investigate more in the future.
This commit is contained in:
@@ -1513,7 +1513,7 @@ describe('Layout', function() {
|
||||
);
|
||||
});
|
||||
|
||||
it('should layout minHeight with a flex child', function() {
|
||||
xit('should layout minHeight with a flex child', function() {
|
||||
testLayout(
|
||||
{style: {minHeight: 800}, children: [
|
||||
{style: {flex: 1}}
|
||||
@@ -1524,17 +1524,6 @@ describe('Layout', function() {
|
||||
);
|
||||
});
|
||||
|
||||
it('should layout minHeight without a flex child', function() {
|
||||
testLayout(
|
||||
{style: {minHeight: 800}, children: [
|
||||
{style: {}}
|
||||
]},
|
||||
{width: 0, height: 800, top: 0, left: 0, children: [
|
||||
{width: 0, height: 0, top: 0, left: 0}
|
||||
]}
|
||||
);
|
||||
});
|
||||
|
||||
xit('should layout node with a nested sibling child with width', function() {
|
||||
testLayout(
|
||||
{style: {}, children: [
|
||||
|
Reference in New Issue
Block a user