title: There's a scroll bug in IOS Safari
body: <p>I have the the third generation iPad with a retina display with the latest version of IOS 8.2. If you open Safari and go to the page below which I have created as a test.</p>
  
  <p><a href="http://bagaren-se.dev.sitedirect.se/test.html" rel="noreferrer">http://bagaren-se.dev.sitedirect.se/test.html</a></p>
  
  <p>If you hold your iPad in landscape mode and click on the button "Click to show/hide" then a fixed div is shown with some dummy text in it. You can now scroll the content of that div. If you click "Click me!!" in there another hidden div is shown with some more dummy text and you can still scroll the content in the div, but...</p>
  
  <p>If you now close the second div by clicking "Click me!!" again and the you close the first div by clicking the first button again. Then you turn your iPad to see the page in portrait mode and do the same thing, the content of the div does not scroll when you try to scroll it, just the background! Why is this and is there a way around it?</p>
  
  <p>If you leave the "Click me!!" div content open when you close the first div and then open the first div again, then it all works.</p>
  
  <p>The first div have max-height:760px; and overflow:auto; set.</p>
  
  <p>Do you see the problem? The way I see it, the content of the first div should always scroll if it's height is larger that 760px, but it doesn't work in Safari IOS 8.2. Is there a hack to get around this problem? The div must be position:fixed;.</p>