title: How do I stop my fixed navigation from moving like this when the virtual keyboard opens in Mobile Safari?
body: <p>I understand that mobile safari has a lot of bugs around fixed elements, but for the most part I've managed to get my layout working correctly until I added a much needed text input to the fixed navigation at the bottom. Now when the user focuses on the text input element and the virtual keyboard appears, my navigation, which is otherwise always fixed at the bottom of the page, jumps up to a really strange spot in the middle of the page.</p>
  
  <p><img src="https://i.stack.imgur.com/MB59e.jpg" alt="enter image description here"></p>
  
  <p>I'd add some of my code to this post, but I wouldn't be sure where to start. That navigation is fixed at the bottom and positioned to the left and bottom 0, and 100% width. From there, I don't know what's going on, I can only assume it's a mobile safari bug.</p>
  
  <p>It also appears to lose it's position fixed and become relative, only while the text input element is focused on and the virtual keyboard is open.</p>