DioxusLabs / DioxusLabs/blitz

Support `scrollend` event

Open
#354 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
4.1k
Forks
203
Avg merge
8h 58m
Merged PRs (30d)
112

Description

We should implement the `scrollend` events which fires when a page has finished scrolling.

> The scrollend event fires when:
> - The browser is no longer animating or translating scroll.
> - The user's touch has been released
> - The user's pointer has released the scroll thumb.
> - The user's keypress has been released
> - Scroll to fragment has completed
> - Scroll snap has completed
> - scrollTo() has completed
> - The user has scrolled the visual viewport.

> The scrollend event does not fire when:
> - A user's gesture did not result in any scroll positional changes (no translation occurred).
> - scrollTo() did not result in any translation.

https://developer.chrome.com/blog/scrollend-a-new-javascript-event#event_details

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.