diff --git a/components/ComposeEmail.tsx b/components/ComposeEmail.tsx index dac5139f..baebae1f 100644 --- a/components/ComposeEmail.tsx +++ b/components/ComposeEmail.tsx @@ -252,7 +252,7 @@ export default function ComposeEmail({ e.stopPropagation(); e.preventDefault(); // Prevent the parent container from scrolling } - }, { passive: false }); // Important for preventDefault to work + }, { passive: false }); // Mark this element as having a scroll handler attached (container as HTMLElement).setAttribute('data-scroll-handler-attached', 'true');