@delt/claude-alarm 0.6.23 → 0.6.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1203,7 +1203,11 @@
|
|
|
1203
1203
|
el.innerHTML += '<div class="typing-indicator active"><div class="typing-dots"><span></span><span></span><span></span></div></div>';
|
|
1204
1204
|
}
|
|
1205
1205
|
renderPermissionBar();
|
|
1206
|
-
|
|
1206
|
+
// Only auto-scroll if user is near the bottom (within 150px)
|
|
1207
|
+
setTimeout(() => {
|
|
1208
|
+
const gap = el.scrollHeight - el.scrollTop - el.clientHeight;
|
|
1209
|
+
if (gap < 150) el.scrollTop = el.scrollHeight;
|
|
1210
|
+
}, 0);
|
|
1207
1211
|
}
|
|
1208
1212
|
|
|
1209
1213
|
function renderNotifications() {
|
package/package.json
CHANGED
package/src/dashboard/index.html
CHANGED
|
@@ -1203,7 +1203,11 @@
|
|
|
1203
1203
|
el.innerHTML += '<div class="typing-indicator active"><div class="typing-dots"><span></span><span></span><span></span></div></div>';
|
|
1204
1204
|
}
|
|
1205
1205
|
renderPermissionBar();
|
|
1206
|
-
|
|
1206
|
+
// Only auto-scroll if user is near the bottom (within 150px)
|
|
1207
|
+
setTimeout(() => {
|
|
1208
|
+
const gap = el.scrollHeight - el.scrollTop - el.clientHeight;
|
|
1209
|
+
if (gap < 150) el.scrollTop = el.scrollHeight;
|
|
1210
|
+
}, 0);
|
|
1207
1211
|
}
|
|
1208
1212
|
|
|
1209
1213
|
function renderNotifications() {
|