- From: Dan Robertson via GitHub <sysbot+gh@w3.org>
- Date: Fri, 18 Nov 2022 21:40:54 +0000
- To: public-css-archive@w3.org
> i can add that to the spec Awesome! Thanks for the quick response! > i'm not sure i 100% follow Currently this is a case where scrollend can be fired to the window without a preceding scroll. Sorry, I probably should have been more clear. I'm just making a note about the current implementations (Firefox and Chrome) here. Assuming a user: 1) pinch zoom to make the visual viewport smaller than the layout viewport 2) scroll but stay within the layout viewport These steps would __not__ trigger a `scroll` event to be fired to the window, but would trigger `scroll` events to be fired to the [window.visualViewport](https://drafts.csswg.org/cssom-view/#ref-for-dom-window-visualviewport) to be possibly handled by [VisualViewport.onscroll](https://drafts.csswg.org/cssom-view/#dom-visualviewport-onscroll). Currently, both implementations of `scrollend` do not behave like the `scroll` event in the above scenario. The latest versions of Firefox and Chrome that I've tested fire `scrollend` events with the `window` as the target after step 2. After `onscrollend` is added to the `VisualViewport`, this should change. -- GitHub Notification of comment by dlrobertson Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8103#issuecomment-1320557829 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 18 November 2022 21:40:56 UTC