Skip to content

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

Open
@pradyunsg

Description

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).

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions