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
When the react-crossfade-image component uses the CSS objectFit:contain or objectFit:cover to fill its container, the images shift positions when the crossfade starts... in the below code this happens whether I run in fullscreen or not...
When the react-crossfade-image component uses the CSS objectFit:contain or objectFit:cover to fill its container, the images shift positions when the crossfade starts... in the below code this happens whether I run in fullscreen or not...
imageContainerStyle: {
border: '2px solid green',
background: 'green',
width: '100%',
height: '100%',
margin: 'auto'
},
crossfadeStyle: {
border: '2px solid blue',
background: 'pink',
position: 'relative',
width: '100%',
height: '100%',
objectFit: 'contain',
},
...
The text was updated successfully, but these errors were encountered: