On Feb 23, 11:30 pm, mountaineer <[email protected]> wrote: > When I hit refresh in IE 6, it seems to clear the history stack. Does > anyone know why and how we can prevent this? > > Steps to reproduce: > > 1. Go tohttp://www.google.com > 2. Go tohttp://gwt.google.com/samples/Showcase/Showcase.html > 3. Click to a few locations such as: > > Widgets > Basic Button > Lists and Menus > Suggest Box > Text Input > Basic Text > > 4. Hit the browser Refresh button. > 5. Now hit the browser back button. > > Expected Outcome: > > Should navigate back to where you were last in the Showcase > > Actual Outcome: > > Returns you back to google.com > > This doesn't happen in other browsers.
"GWT's history" in IE6 (and IE7) is done with a hidden iframe which is "navigated" each time you call History.newItem(); so when you refresh the page, the iframe is recreated and its history is empty. In other browsers, manipulating the URL to change the #hash is enough for a new entry to be added to the browser's history, so refreshing the page doesn't have this side effect. Let's call this a "known quirk". -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
