Expanding divs in the superbox

Create issue
Issue #30 open
Former user created an issue

Hello!

If you open up the superbox with some content that fits on the screen with no need of scrolling and then you show hidden divs (that was loaded into the superbox as well) the scrolling breaks. I mean, you can still scroll but the box is fixed so it will just follow the scroll.

How to fix this? :)

Comments (2)

  1. Former user Account Deleted

    I solved it by changing

    // Position absolute if image height > window height
    if ( $(window).height() < $wrapper.height() ) {
    	$wrapper.css({position: "absolute", top: ($wrapper.offset().top + 10) + "px"});
    }
    

    To:

    $wrapper.css({position: "absolute", top: ($wrapper.offset().top + 10) + "px"});
    
  2. Log in to comment