From 6589158f511c6985a4563187b04e100510f917aa Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Tue, 7 Apr 2026 16:01:39 +0200 Subject: [PATCH] sidebar: ai: dont scroll automatically it used to work fine but now it's extremely annoying --- .../ii/modules/ii/sidebarLeft/AiChat.qml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/dots/.config/quickshell/ii/modules/ii/sidebarLeft/AiChat.qml b/dots/.config/quickshell/ii/modules/ii/sidebarLeft/AiChat.qml index 77d4f4b2a..f6054f017 100644 --- a/dots/.config/quickshell/ii/modules/ii/sidebarLeft/AiChat.qml +++ b/dots/.config/quickshell/ii/modules/ii/sidebarLeft/AiChat.qml @@ -364,15 +364,15 @@ Inline w/ backslash and round brackets \\(e^{i\\pi} + 1 = 0\\) mouseScrollFactor: Config.options.interactions.scrolling.mouseScrollFactor * 1.4 property int lastResponseLength: 0 - onContentHeightChanged: { - if (atYEnd) - Qt.callLater(positionViewAtEnd); - } - onCountChanged: { - // Auto-scroll when new messages are added - if (atYEnd) - Qt.callLater(positionViewAtEnd); - } + // onContentHeightChanged: { + // if (atYEnd) + // Qt.callLater(positionViewAtEnd); + // } + // onCountChanged: { + // // Auto-scroll when new messages are added + // if (atYEnd) + // Qt.callLater(positionViewAtEnd); + // } add: null // Prevent function calls from being janky