Bug 226080 - iPad Safari does not send out wheel event sometimes
Summary: iPad Safari does not send out wheel event sometimes
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: Safari 14
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-05-21 06:42 PDT by inikolic@microsoft.com
Modified: 2024-03-13 05:52 PDT (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description inikolic@microsoft.com 2021-05-21 06:42:17 PDT
iPad, latest Safari beta

1. Open https://vscode-web-test-playground.azurewebsites.net/?enter=true
2. Have some file open in the editor
3. Click somewhere such that the focus is not in the editor
4. Use mouse wheel to scroll over the editor -> nothing happens

Once you click in the editor, scrolling works.

If you hide the Safari toolbar at the top this bug can not be reproduced.
If you try this on macOS and not on iPad it works.

I am an engineer on the VS Code team and I investigated the issue on our side and we are simply not getting a `wheel` event from the browser.
I could not distill this into a simpler reproducable case because if I try to do something simpler I can not reproduce the issue.
So it would be helpful for me if you just check from your side if the event gets fired. And maybe let me know what more details can I provide that we get this fixed.

I do not know how to ping people in this bug tracker, but Tim Horton asked me to ping him.

Thank you
Comment 1 Radar WebKit Bug Importer 2021-05-28 06:43:17 PDT
<rdar://problem/78616491>
Comment 2 Henning Dieterichs 2023-02-21 08:42:35 PST
This w3schools example works with Windows/Chrome/trackpad, but doesn't work on the iPad Pro 11-inch 3rd gen with software version 14.5: https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_onwheel_addeventlistener
Comment 3 ae 2024-03-13 05:46:09 PDT
Hey folks... several years and no update on this? We're porting our app (WKWebView-based) to Catalyst and it's absolutely crucial to receive 'wheel' events for a desktop platform (but also on iOS, frankly).
Comment 4 ae 2024-03-13 05:52:05 PDT
I've noticed that the 'wheel' event DOES get fired in certain situations. It seems to me like there has to be a "scrollable" element (for example, a div with overflow: auto and content larger than the div itself) beneith the mouse cursor for it to fire somehow.