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

Respond to back button #47

Open
takkaria opened this issue Jul 31, 2018 · 3 comments
Open

Respond to back button #47

takkaria opened this issue Jul 31, 2018 · 3 comments

Comments

@takkaria
Copy link
Collaborator

When you use the back/forward buttons on the group page, nothing happens. It would be good to use the History API so that it works.

@cagabi
Copy link
Collaborator

cagabi commented Jul 31, 2018

That is not an easy one, everything there is Javascript so the history API doesn't work.
What is a typical situation when you want to go back?

@takkaria
Copy link
Collaborator Author

takkaria commented Jul 31, 2018

I was thinking about adding something to respond to the hashchange event. This would mean that when you press back the group changes back to the old group. I have used this on other projects, would be happy to implement it here too.

@cagabi
Copy link
Collaborator

cagabi commented Aug 1, 2018

I see, in fact hashchange is what we use in MyHomeEnergyPlanner.
Great, I am very pleased you are on this too!

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

No branches or pull requests

3 participants