mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 08:19:05 +00:00
Fix unsightly re-layout delay for media previews
This commit is contained in:
@@ -297,6 +297,7 @@ class MediaGallery extends React.PureComponent {
|
||||
this._setDimensions();
|
||||
}
|
||||
}, 250, {
|
||||
leading: true,
|
||||
trailing: true,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user