Bug 258741 - REGRESSION (263995@main): preventDefault on wheel events can still result in page scrolling (fast/scrolling/mac/event-region-prevent-default-with-sublayer.html is a consistent failure)
Summary: REGRESSION (263995@main): preventDefault on wheel events can still result in ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-06-30 10:33 PDT by Simon Fraser (smfr)
Modified: 2023-07-05 14:25 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2023-06-30 10:33:33 PDT
After 263995@main, if the page calls preventDefault() on the first wheel event, we'd still think the page was just unresponsive, and convert the synchronous wheel event sequent into an async one.

This resulted in scrolling jiggles on pages with embedded maps that wanted to consume the wheel events for scrolling.
Comment 1 Simon Fraser (smfr) 2023-06-30 10:33:46 PDT
<rdar://111420041>
Comment 2 Simon Fraser (smfr) 2023-06-30 10:43:33 PDT
Pull request: https://github.com/WebKit/WebKit/pull/15458
Comment 3 EWS 2023-07-05 14:25:03 PDT
Committed 265781@main (bdb0943f3930): <https://commits.webkit.org/265781@main>

Reviewed commits have been landed. Closing PR #15458 and removing active labels.