diff --git a/src/home/rendering/render-preview-modal.ts b/src/home/rendering/render-preview-modal.ts index ea8cca00..db8fa2a5 100644 --- a/src/home/rendering/render-preview-modal.ts +++ b/src/home/rendering/render-preview-modal.ts @@ -42,3 +42,11 @@ function closePreview() { preview.classList.remove("active"); issuesContainer?.classList.remove("preview-active"); } + +preview.addEventListener( + "wheel", + (event) => { + event.preventDefault(); + }, + { passive: false } +);