[Glitch] Fix unresponsive areas around GIFV modals in some cases
Port 2347354bba2281a51e8ad91569294ee1d4e07dea to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
4388fa1495
commit
838d88cb8f
@ -201,8 +201,6 @@ class MediaModal extends ImmutablePureComponent {
|
|||||||
preview={image.get('preview_url')}
|
preview={image.get('preview_url')}
|
||||||
blurhash={image.get('blurhash')}
|
blurhash={image.get('blurhash')}
|
||||||
src={image.get('url')}
|
src={image.get('url')}
|
||||||
width={image.get('width')}
|
|
||||||
height={image.get('height')}
|
|
||||||
frameRate={image.getIn(['meta', 'original', 'frame_rate'])}
|
frameRate={image.getIn(['meta', 'original', 'frame_rate'])}
|
||||||
startTime={currentTime || 0}
|
startTime={currentTime || 0}
|
||||||
startPlaying={autoPlay || false}
|
startPlaying={autoPlay || false}
|
||||||
@ -218,8 +216,6 @@ class MediaModal extends ImmutablePureComponent {
|
|||||||
return (
|
return (
|
||||||
<GIFV
|
<GIFV
|
||||||
src={image.get('url')}
|
src={image.get('url')}
|
||||||
width={width}
|
|
||||||
height={height}
|
|
||||||
key={image.get('url')}
|
key={image.get('url')}
|
||||||
alt={description}
|
alt={description}
|
||||||
lang={lang}
|
lang={lang}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user