fix: prevent auto-scroll when highlighting playback timestamps

This commit is contained in:
Paul Gauthier (aider) 2025-03-14 09:23:10 -07:00
parent 4e59b62026
commit 831564cf48

View file

@ -212,8 +212,7 @@ document.addEventListener('DOMContentLoaded', function() {
if (listItem) { if (listItem) {
listItem.classList.add('active-marker'); listItem.classList.add('active-marker');
// Scroll the list item into view if needed // No longer scrolling into view to avoid shifting focus
listItem.scrollIntoView({ behavior: 'smooth', block: 'nearest' });
} }
} }
} }