Mobile UI fix
This commit is contained in:
@@ -158,9 +158,9 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
closeSidebarOnMobile();
|
||||
});
|
||||
|
||||
// Sync scroll - FIX: Use transform instead of scrollTop
|
||||
// Sync scroll
|
||||
editor.addEventListener("scroll", () => {
|
||||
suggestionOverlay.style.transform = `translateY(-${editor.scrollTop}px)`;
|
||||
suggestionOverlay.scrollTop = editor.scrollTop;
|
||||
});
|
||||
|
||||
// Initialize UI badges
|
||||
|
||||
Reference in New Issue
Block a user