Open amhep opened 2 years ago
try this: it worked for me: replace container360 with the id that you gave to your threesixty component
useEffect(() => { const container = document.getElementById("container360"); container.addEventListener("wheel", (event) => { event.stopPropagation(); }); return () => { container.removeEventListener("wheel", (event) => { event.stopPropagation(); }); }; }, []);
When you use mouse scroll to navigate the page while your mouse is over the turntable, the image zooms in an undesirable way. Is there a way to disable zoom on mouse scroll?