-
Notifications
You must be signed in to change notification settings - Fork 2.4k
back buttons are now going back "too far" #1870
Comments
The same defect occurs when using:
|
Same problem here. I might add that I have the pages as separate divs in one single document. I also noticed that the "native" back button still works. |
I have the same problem, and would like to add that closing dialogs also triggers the bug. |
Digging deeper, I found that history.back() is executed twice because of this line:
Disabling fastClick should be a valid workaround, but that does not work either, see #1869. BTW: The problem appeared on both Chrome 13beta and Firefox 5. I did not yet bother testing on a mobile device. |
Same here. Strangly it's not consistently happening. In rare cases it's correctly going back one step only. |
I just noticed that it is consistently working for me when I test the site on mobile safari. The original issue still stands with desktop safari. |
So, the vclick + click is in there as a workaround for an inconsistent bug Android 2.1, but now that we've pushed beta out, I'm going to remove that double binding and work on a better solution for the Android issue. Fix coming shortly. |
Still have issues with iOS.. Also an intentional doubletab/click will mosdef take you 2 pages back, and a tripple tab/click wil wil take you back 3 pages. I tried this with http://www.jquerymobile.com/test/ -> Pages and dialogs -> Dialogs -> Open first dialog.. Tapping close muliple times. 3 times takes me back to front page of ../test/ Also the initial problem still occour - where you click (or intend to click) only once - and it takes you back 2 pages. Though not as common as before, tried with newest JQM-source (g7451a4b) on my dev site. Lastly, using Firefox 3.6.17 - will go 2 pages back everytime. |
I'm testing out beta1 and read about the back button change. I've modified my simple site which consists of three pages:
-index
-subpage
-subsubpage
I've added data-add-back-btn="true" to the div's with data-role of page and the buttons are now appearing again. The defect is that when I click from index to subpage, then subpage to subsubpage, the back link in the upper left takes me all the way back to the index page instead of the subpage.
The links between the pages are normal A links going to separate actual pages through the default ajax (they are not separate divs within one single page).
The text was updated successfully, but these errors were encountered: