Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mdempsky opened this issue Jun 22, 2020 · 1 comment
Open

Comments

@mdempsky
Copy link
Contributor

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).

@achlipala
Copy link
Collaborator

Interesting! Yeah, that feature sounds handy indeed. Any interest in working out how to implement it yourself?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants