-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Milestone
Description
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
- Add an example to ViewExample.windows.js in RNTester:
{
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>
</>
);
}
}- Run the example in RNTester
- Observe that the view is still displayed.
Expected Results
The display: none prop value should result in the view being hidden.
