dimanche 26 juin 2016

ios address bar triggered when angular ui router state changes


I am using Angular UI Router. Whenever I click on a link with ui-sref the address bar from ios mobile browser shows up. For example when I scroll down, the address bar hides and if I click on a link and the page transition finishes the ui address bar shows up instantly. This makes it less user friendly as the page suddenly shifts a little downwards because of the address bar.

This website http://www.etq-amsterdam.com has the same issue that I have.

I have found a website that doesn't have this issue although they are not using angular. http://www.trefectamobility.com

This does not happen on android chrome. And only happens in the ios safari. The version that I have tested in was ios 9.

I have tried overflow hidden but this is not the solution that I want because then the address bar is always visible.

What's triggering this behavior?


Aucun commentaire:

Enregistrer un commentaire