Fixed scrolling behavior, reply, cross channel messages and gg navigation #66

Merged
retoor merged 6 commits from BordedDev/snek:bugfix/multiple-issues-with-new-chat into main 2025-07-20 19:55:47 +02:00
Showing only changes of commit 11e19f48e8 - Show all commits

View File

@ -227,7 +227,7 @@ document.addEventListener('keydown', function(event) {
keyTimeout = setTimeout(() => { gPressCount = 0; }, 300); keyTimeout = setTimeout(() => { gPressCount = 0; }, 300);
if (gPressCount === 2) { if (gPressCount === 2) {
gPressCount = 0; gPressCount = 0;
messagesContainer.querySelector(".message:first-child")?.scrollIntoView({ block: "end", inline: "nearest" }); messagesContainer.lastElementChild?.scrollIntoView({ block: "end", inline: "nearest" });
loadExtra(); loadExtra();
} }
} }