Skip to content

The browser's Go forward one page does not work (but going back does work) #1287

@Razoric480

Description

@Razoric480

Describe the bug
Javascript pushstate/popstate does not differentiate between back/forwards

We listen for browser back navigation by listening to a popstate event. However, the browser will send that whether we're pressing backwards or forwards.

So if we're in L1.P1 and press back, we go to the lesson, as expected. But if we then press forwards, we don't go to the practice, we go to the outliner, because it all comes back to _navigate_back() on a popstate event.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as intended

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions