Hi all, currently trying to convert my webapp into a single page application. Trying to sort it out on a separate page first before I make it my main index page.
The way I’m doing it right now is through changing the URL of the page and showing/hiding groups based on what’s in the URL.
The issue I have right now is sometimes when I click back (from the browser button). the group stops showing although the condition is done so that it should show (see pic below where condition says it is visible but property says its not visible)
steps to replicate:
- You can go to Mazzikly and
- click start song from top right (this hides index group and shows custom-song group and a subgroup called group intro)
- click get started (keeps custom-song group shown, hides subgroup group intro and shows another subgroup group creator)
- click next, no need to fill anything (keeps custom-song group shown, hides subgroup group creator and shows another subgroup group recipient)
- keep clicking back and forward button going through the steps from index to the last step. sometimes it will show the groups properly, sometimes it will hide them but not collapse.
I don’t know if I’m following the right way of building a single page app or if there’s a bug. I’d appreciate any help.
Please let me know if any more info is needed.
Cheers!