strapdown
strapdown copied to clipboard
navbar renders twice on iphone and android with safari and chrome
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.
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