Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjusting "Back to top" to consider the wheel event #760

Open
pradyunsg opened this issue Jan 30, 2024 Discussed in #421 · 0 comments
Open

Adjusting "Back to top" to consider the wheel event #760

pradyunsg opened this issue Jan 30, 2024 Discussed in #421 · 0 comments
Labels
enhancement New feature or request

Comments

@pradyunsg
Copy link
Owner

Discussed in #421

Originally posted by jdknight April 16, 2022
The existing scroll handler logic ties everything to the scroll event. I'm wondering if it would be possible to adjust the "Back to top" implementation to also consider the wheel event (when applicable), to help avoid rendering the back-to-top overlay when a page is scrolled via navigation events (back/forward; and menu clicks on the sidebar).

@pradyunsg pradyunsg added the enhancement New feature or request label Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant