Skip to content

[Bug]: draggingTimeout not cleared on unmount in useTrackpadGesture #309

@Muneerali199

Description

@Muneerali199

The draggingTimeout ref is never cleared when the component unmounts, causing a timer memory leak.

File: src/hooks/useTrackpadGesture.ts

Fix: Add useEffect cleanup to clear the timeout

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