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

Back button returns to #home #509

Open
Orange06 opened this issue Apr 30, 2014 · 0 comments
Open

Back button returns to #home #509

Orange06 opened this issue Apr 30, 2014 · 0 comments

Comments

@Orange06
Copy link

Using back button on ajax inserted page makes the site go back to home, no mather howmany pages are in between #home and #last-page, it allways goes back to #home. I saw this issue reported few years ago and there is no answer on that ?
the html looks like this:
div id="jqt">
div id="home">
a href="#list">Go to list
/div>

div id="list">
(The content is added when "go to list" link is tapped)
a href="#page1"> Page1
a href="#page2"> Page2
a href="#page3"> Page3
/div>

and after #page1 is tapped, ajax again appends

to #jqt.

div id="page1">BACK


/div>
And when I tap the "BACK" it goes straight back to #home.

Has anyone found a solution for this problem ?

I also noticed that if we set useFastTouch to true, a ghost tap appears. I tested this on iOS 7 - iphone.

Another issue I see is when I get data back from ajax, they are insreted to page 2 times. I've checked everything more than 3 times and I don't call that function twice, funny thing is that in FireForx it is inserted normaly, but when I check on iPhone, the list is doubled. I'm building my page(app) with help of the demos like @thomasyip has sudgested me, but there are still issues.

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

1 participant