Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Auto-add back btn on pages beyond first view #3553
I had a problem when dealing with back button.
Thanks for ghislain to have worked with me on this problem.
The back button logic needs to be evaluated during pageshow, not pagecreate. If you load page A navigate to page B, then return to page A, the back button will not show up! If you load page B first, then navigate to page A, the back button will show up! This also means that if you reset the urlHistory stack and then load the page, the back button could still show up!