react-crossfade-image icon indicating copy to clipboard operation
react-crossfade-image copied to clipboard

Images jump between resolution in fullscreen

Open 3pin opened this issue 5 years ago • 1 comments

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', }, ...

{this.container=container}}>

3pin avatar Jan 28 '20 12:01 3pin

i see this bug too

avelaga avatar May 19 '20 16:05 avelaga