Bug 197387 - [macOS] scroll event doesn't fire on Visual Viewport API
Summary: [macOS] scroll event doesn't fire on Visual Viewport API
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 170982
  Show dependency treegraph
 
Reported: 2019-04-29 14:22 PDT by Ryosuke Niwa
Modified: 2019-05-03 09:09 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 Ryosuke Niwa 2019-04-29 14:22:09 PDT
Apparently we don't fire scroll event on visual viewport API on macOS :(
Comment 1 Radar WebKit Bug Importer 2019-04-29 14:23:43 PDT
<rdar://problem/50311222>
Comment 2 Ryosuke Niwa 2019-05-02 22:36:15 PDT
Actually, the current behavior of WebKit matches that of Chrome so this is probably not really a bug. In fact, offsetTop/offsetLeft are always 0 on macOS when it's not zoomed. When we're zoomed, we'd fire scroll events as expected. This is somewhat counterintuitive but it's probably safe to match Chrome's behavior here.
Comment 3 Simon Fraser (smfr) 2019-05-03 09:09:11 PDT
Right, that's related to whether you fire scroll events on visual or layout viewport changes.