Fix timeline jumps (#10001)
* Avoid two-step rendering of statuses as much as possible Cache width shared by Video player, MediaGallery and Cards at the ScrollableList level, pass it down through StatusList and Notifications. * Adjust scroll when new preview cards appear * Adjust scroll when statuses above the current scroll position are deleted
Showing
- app/javascript/mastodon/components/media_gallery.js 8 additions, 2 deletionsapp/javascript/mastodon/components/media_gallery.js
- app/javascript/mastodon/components/scrollable_list.js 27 additions, 1 deletionapp/javascript/mastodon/components/scrollable_list.js
- app/javascript/mastodon/components/status.js 62 additions, 5 deletionsapp/javascript/mastodon/components/status.js
- app/javascript/mastodon/features/notifications/components/notification.js 30 additions, 2 deletions...astodon/features/notifications/components/notification.js
- app/javascript/mastodon/features/status/components/card.js 4 additions, 1 deletionapp/javascript/mastodon/features/status/components/card.js
- app/javascript/mastodon/features/video/index.js 3 additions, 1 deletionapp/javascript/mastodon/features/video/index.js
Loading
Please register or sign in to comment