From ace4d4f49ede848b30c1fde27b5071742034ec68 Mon Sep 17 00:00:00 2001 From: DiTus Date: Sat, 21 Mar 2026 22:02:38 +0100 Subject: [PATCH] fix: disable auto-scrolling to real-time on new data load --- js/ui/chart.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/ui/chart.js b/js/ui/chart.js index 1696605..4a3ed7f 100644 --- a/js/ui/chart.js +++ b/js/ui/chart.js @@ -785,9 +785,12 @@ async loadNewData() { //console.log(`[NewData Load] Added ${chartData.length} new candles, total in dataset: ${this.allData.get(this.currentInterval).length}`); + // Auto-scrolling disabled per user request + /* if (atEdge) { this.chart.timeScale().scrollToRealTime(); } + */ this.updateStats(latest);