Skip to content

Consider leading:true on debounce #13

Closed
@silverwind

Description

@silverwind

Currently, there is a useless delay of debounce (default 200ms) before the first onBottom callback which could be avoided by enabling the leading option. This is especially noticeable when one specifies a high debounce like 1000. I see no reason to not set this option, further callbacks can be debounced, but the first should not.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions