From c443cc60bd85c203adba43eab3d79bb977faa9fe Mon Sep 17 00:00:00 2001 From: Kristina Date: Tue, 23 Jul 2024 11:57:06 +0400 Subject: [PATCH] Reduce loading time when switching channels (#6118) Signed-off-by: Kristina Fefelova --- .../chunter-resources/src/components/ChannelScrollView.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/chunter-resources/src/components/ChannelScrollView.svelte b/plugins/chunter-resources/src/components/ChannelScrollView.svelte index 0407850c90..ac75c94bbb 100644 --- a/plugins/chunter-resources/src/components/ChannelScrollView.svelte +++ b/plugins/chunter-resources/src/components/ChannelScrollView.svelte @@ -440,8 +440,8 @@ shouldWaitAndRead = true autoscroll = true shouldScrollToNew = true + isInitialScrolling = false waitLastMessageRenderAndRead(() => { - isInitialScrolling = false autoscroll = false }) } else if (separatorElement) {