predix-ui / predix-ui.github.io

http://predixdev.github.io/predix-ui
Other
14 stars 12 forks source link

Multiple back button selects required to get back to previous page. #260

Open ppeyro opened 7 years ago

ppeyro commented 7 years ago

When following certain links on the site, noticed needing to select the back button 3 times in a row to return to the previous page.

Haven't done an exhaustive search on all the links causing this behavior, but here's the one that consistently seem to do it:

Home page : Learn more button in the hero. It redirects to https://www.predix-ui.com/#/about/introduction, to return to home page you have to select the browser back button 3 times in a row.

Browsers:

Chrome, safari9, FF

Screenshot of the browser history:

screen shot 2017-08-18 at 9 41 41 am

randyaskin commented 7 years ago

@davidrleonard and I looked into this. Google's iron-location code is pushing two items into the history stack every time we redirect. Code comments indicate "a necessary evil" :do_not_want: