Fix jump when loading more media gallery items (#38512)

This commit is contained in:
Echo 2026-04-01 16:02:00 +02:00 committed by GitHub
parent e8f4896b08
commit 36d85f8521
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -225,7 +225,7 @@ export const AccountGallery: React.FC<{
alwaysPrepend alwaysPrepend
append={accountId && <RemoteHint accountId={accountId} />} append={accountId && <RemoteHint accountId={accountId} />}
scrollKey='account_gallery' scrollKey='account_gallery'
showLoading={isLoading} isLoading={isLoading}
hasMore={!forceEmptyState && hasMore} hasMore={!forceEmptyState && hasMore}
onLoadMore={handleLoadMore} onLoadMore={handleLoadMore}
emptyMessage={emptyMessage} emptyMessage={emptyMessage}