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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 10 04:26:44 PDT 2023


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

            Bug ID: 256582
           Summary: Mouse wheel event not getting fired above certain
                    element
           Product: WebKit
           Version: Other
          Hardware: Mac (Intel)
                OS: macOS 12
            Status: NEW
          Severity: Blocker
          Priority: P2
         Component: Scrolling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: laszlo at nextendweb.com
                CC: simon.fraser at apple.com

OS and Browser information:
OS: macOS Monterey Version 12.6.5 (21G531)
Browser: Safari Version 16.4.1 (17615.1.26.101.10, 17615)

URL: https://smartslider3.com/fullsize/

Summary: If you visit the URL above you will find a slider at the top of the page, and if you try to scroll down on the area of the slider, it should make the slider advance to the next slide, but it won't always work in Safari.

Description: The codes responsible for moving the slides are running on the "wheel" event. The problem is that, the "wheel" event won't get fired in Safari. (It works fine in other browsers on the same Mac and also on Windows.)
As I noticed, when I modify CSS properties on some elements, the wheel event start working. ( Open the browser console, sometimes also fixes the problem but after the page is refreshed the problem occurs again. )

You can check whether the wheel event gets fired or not by doing the following:
1.) Open the browser console.
2.) Refresh the linked page: https://smartslider3.com/fullsize/ - just to avoid cases where the "wheel" event starts working because of console opening.
3.) Run this code in the console to track the events fired on the window: monitorEvents(window);
4.) Try to scroll on the area of the slider. Result: mouse wheel event won't get fired.
5.) Scroll down below the slider by using the scroll bar of the browser. Place the cursor over the white area below the slider ( as that is not the part of the slider ) and scroll. Result: mouse wheel event will be fired.

-- 
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/20230510/8f065caf/attachment-0001.htm>


More information about the webkit-unassigned mailing list