Fix unsightly re-layout delay for media previews

main
Thibaut Girka 4 years ago committed by ThibG
parent a48dbc78f8
commit 5a9fc749c3

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

Loading…
Cancel
Save