From a68efe59e7b66444cf8c94b9fc19982448ea45d7 Mon Sep 17 00:00:00 2001 From: bakk Date: Fri, 28 May 2021 21:28:01 +0200 Subject: [PATCH] kalk_web: Keep scroll on enter --- kalk_web/src/KalkCalculator.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/kalk_web/src/KalkCalculator.svelte b/kalk_web/src/KalkCalculator.svelte index 2ae7253..1825f09 100644 --- a/kalk_web/src/KalkCalculator.svelte +++ b/kalk_web/src/KalkCalculator.svelte @@ -50,6 +50,7 @@ outputElement.children[ outputElement.children.length - 1 ].scrollIntoView(false); + calculatorElement.scrollIntoView(); }); function calculate(