Skip to content

"tabbed" doesn't keep track of active tab when reloading the page #20

@mdempsky

Description

@mdempsky

In onlineconf, if you have the "Chat list" tab open and reload the page, you're taken back to the "Calendar" tab. I think it would be nicer to keep the "Chat list" tab open.

Similarly, clicking a tab and then clicking the back button doesn't take you back to the previous tab; it takes you to the previous page.

Often, web frameworks handle this using a "router" component that's responsible for serializing app state with the browser's session history using the History API (https://developer.mozilla.org/en-US/docs/Web/API/History) and PopStateEvents (https://developer.mozilla.org/en-US/docs/Web/API/PopStateEvent).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions