[Webkit-unassigned] [Bug 256582] Mouse wheel event not getting fired above certain element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 25 02:50:27 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=256582

--- Comment #8 from Laszlo <laszlo at nextendweb.com> ---
The way this particular hero slider works is that, it prevents the "wheel" event with e.preventDefault() if the cursor is inside the area of the hero slider, except:
-you are on the first image and you scroll up
-or you are on the last image and you scroll down

This way scrolling on the area of the hero slider will make it rather advance to the next/previous slide instead of scrolling the page. And once you reach the first/last slide you can scroll the page itself.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230525/3bc049b1/attachment.htm>


More information about the webkit-unassigned mailing list