mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fix unsightly re-layout delay for media previews
This commit is contained in:
parent
a48dbc78f8
commit
5a9fc749c3
@ -297,6 +297,7 @@ class MediaGallery extends React.PureComponent {
|
|||||||
this._setDimensions();
|
this._setDimensions();
|
||||||
}
|
}
|
||||||
}, 250, {
|
}, 250, {
|
||||||
|
leading: true,
|
||||||
trailing: true,
|
trailing: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user