From f7f536b3187ecd5f22afd7fced7794fd9e0a525f Mon Sep 17 00:00:00 2001
From: hippoz <10706925-hippoz@users.noreply.gitlab.com>
Date: Fri, 22 Apr 2022 16:43:26 +0300
Subject: [PATCH] frontend: preserve scroll position when loading more messages
---
frontend/src/components/App.svelte | 3 +--
.../src/components/pages/main/Messages.svelte | 19 ++++++++++++++++---
frontend/src/stores.js | 4 +++-
3 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/frontend/src/components/App.svelte b/frontend/src/components/App.svelte
index c8be979..c8fd8dc 100644
--- a/frontend/src/components/App.svelte
+++ b/frontend/src/components/App.svelte
@@ -1,6 +1,5 @@
diff --git a/frontend/src/components/pages/main/Messages.svelte b/frontend/src/components/pages/main/Messages.svelte
index 1eb8681..ed96902 100644
--- a/frontend/src/components/pages/main/Messages.svelte
+++ b/frontend/src/components/pages/main/Messages.svelte
@@ -1,11 +1,11 @@