Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Navigation: Implementation of navigate event must properly attach to/detach from underlying events #8050

@gabrielschulhof

Description

@gabrielschulhof

Currently the navigate event attaches to popstate/hashchange when the first call to setup() is made, and sets a flag indicating that it has attached. Upon subsequent calls to setup() it merely checks the flag to make sure it has already attached.

We need to change this to attach a handler upon setup() and detach that same handler - identified exactly by means of its function pointer upon teardown().

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions