Skip to content

Commit

Permalink
Adds repro for 'display: none' and 'position: absolute'
Browse files Browse the repository at this point in the history
  • Loading branch information
rozele committed Mar 5, 2021
1 parent 7c44f40 commit e611541
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -607,4 +607,26 @@ exports.examples = [
);
},
},
{
title: 'display: none and position: absolute',
render: function(): React.Node {
return (
<>
<View
style={{
height: 100,
width: 100,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: 'red',
position: 'absolute',
display: 'none',
top: 0,
}}>
<Text>This should be hidden.</Text>
</View>
</>
);
},
},
];

0 comments on commit e611541

Please sign in to comment.