zurb / twentytwenty

jQuery Plugin to Compare Images
ISC License
1.27k stars 295 forks source link

Scrollbar bug when page content height close to window height #34

Open edwardhorsford opened 9 years ago

edwardhorsford commented 9 years ago

When the page content is just less than the viewable window height, using twentytwenty causes the page to increase in size, causing scrollbars. This reduces the image width, meaning that the page height is reduced and scrollbars disappear. The effect is that scrollbars blink in and out of existence.

Bug in action: twenty-twenty-bug