From 9a097f7576724eed991d1640b9026d0a9a8ce6e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Fri, 28 Feb 2025 10:06:09 +0100 Subject: [PATCH] wip --- assets/controllers/loading_controller.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/controllers/loading_controller.js b/assets/controllers/loading_controller.js index ec87b76..b9f7bdb 100644 --- a/assets/controllers/loading_controller.js +++ b/assets/controllers/loading_controller.js @@ -7,5 +7,6 @@ export default class extends Controller { toggle() { this.indicatorTarget.classList.remove(this.hiddenClass) + this.element.scrollIntoView({ block: 'start', behavior: 'smooth'}) } -} \ No newline at end of file +}