- From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
- Date: Fri, 10 Mar 2023 22:23:00 +0000
- To: public-css-archive@w3.org
@Schepp > This is not just about events, but also about offering some sort of Scroll Snap API to programmatically scroll to certain snap points. I agree that there should be a way to explicitly scroll to certain snap points. Though I believe that should be discussed separately from the event model discussed here. So I created #8558 for it. > > 3. I'd like to have a snap event, once the element has snapped to a point, with info on which snap point of how many total snap points it just snapped to, so that I can update a progress indicator. Does this really require to know how many snap points there are? I think for a progress indicator it should be enough to know the target element. With that, you can easily calculate the progress. > > 4. I'd like to see the scroll event getting a new property which tells me if a scroll event was user-created or if it results from automatic scrolling (also interesting for the smooth scrolling coming from CSS scroll-behavior). Can you tell a concrete use case that requires a distinction between the two methods? Sebastian -- GitHub Notification of comment by SebastianZ Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/156#issuecomment-1464554479 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 10 March 2023 22:23:02 UTC