Skip to content

What about to add debounce instead of throttle? #2

@dskiba

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.

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