diff --git a/apps/web/src/components/homepage/Hero.tsx b/apps/web/src/components/homepage/Hero.tsx index 00b90e4..b75301d 100644 --- a/apps/web/src/components/homepage/Hero.tsx +++ b/apps/web/src/components/homepage/Hero.tsx @@ -14,12 +14,18 @@ export default function Hero() { const scrollToRegistration = () => { const registrationSection = document.getElementById("registration"); if (registrationSection) { + // Temporarily disable scroll-snap to prevent snap-back on mobile + document.documentElement.style.scrollSnapType = "none"; registrationSection.scrollIntoView({ behavior: "smooth" }); + // Re-enable scroll-snap after smooth scroll completes + setTimeout(() => { + document.documentElement.style.scrollSnapType = ""; + }, 800); } }; return ( -
+
{/* Desktop Layout - hidden on mobile */}
{/* Desktop Microphone - positioned on top of top sections, under bottom sections */} @@ -150,7 +156,7 @@ export default function Hero() {
{/* Mobile CTA */} -
+