strapdown icon indicating copy to clipboard operation
strapdown copied to clipboard

navbar renders twice on iphone and android with safari and chrome

Open davidthewatson opened this issue 12 years ago • 1 comments
trafficstars

I've noticed that on mobile safari and chrome on ios6 and android, the detection code that finds the navbar element and should prevent the default navbar from rendering if one is already present in the DOM doesn't seem to work. As a result, I get two navbars on iphone safari and android chrome. I'm using strapdown on my personal site here:

http://davidwatson.org/

where you can see the effect. On the desktop browsers, only one navbar gets rendered - the one I defined, which is correct.

BTW, strapdown has saved me a lot of work so thanks for the good work. I may get time to look into this sooner on the weekend but I wanted to mention it in case you might know the cause. The mobile rendering is beautiful.

davidthewatson avatar Nov 30 '12 07:11 davidthewatson

thanks! won't have time to debug this on mobile for a while, but please let me know if you find a fix! happy to take a pull request

arturadib avatar Dec 02 '12 15:12 arturadib