Closed aleclarson closed 5 years ago
When the visible prop is undefined, the extractOpacity function should ignore it.
visible
extractOpacity
Instead of changing the !visible check to visible === null, I removed it because visible: null is ambiguous, so visible: false should always be preferred.
!visible
visible === null
visible: null
visible: false
This PR will resolve https://github.com/react-native-community/art/issues/29
Thank you for this PR <3
When the
visible
prop is undefined, theextractOpacity
function should ignore it.Instead of changing the
!visible
check tovisible === null
, I removed it becausevisible: null
is ambiguous, sovisible: false
should always be preferred.