Skip to content

What about to add debounce instead of throttle? #2

Description

@dskiba

Hi, nice hook :)
You can see in navbar demo that if you spam scroll down \ scroll up - navbar shows and hide.
With debounce(only when scroll direction changes) it will be waiting for your last scroll event.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions