Skip to content

TypeError: handlerScroll.cancel is not a function #11

@ghost

Description

The PR #5 introduced a handleScroll.cancel() but there is no property cancel on the handler function. So, on component unmount, an error is thrown and thus the removeEventListener is never called.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions