Fix unsightly re-layout delay for media previews

This commit is contained in:
Thibaut Girka 2020-11-04 15:26:58 +01:00 committed by ThibG
parent a48dbc78f8
commit 5a9fc749c3
1 changed files with 1 additions and 0 deletions

View File

@ -297,6 +297,7 @@ class MediaGallery extends React.PureComponent {
this._setDimensions(); this._setDimensions();
} }
}, 250, { }, 250, {
leading: true,
trailing: true, trailing: true,
}); });