title: jquery fancybox 'maxHeigt' attr invalid
body: <p>The right behavior should be like this:
  The height of the popup should grow dynamically as we add or remove rows. And it should have a scrollbar vertically when the height of popup > maxHeigh(we set)</p>
  
  <p>The current behavior should be like this:</p>
  
  <ol>
  <li>The popup would grow dynamically as we add or remove rows the first time, but when popup's height > maxHeight, there is no scrollbar appear.</li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/Gi9Pn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Gi9Pn.png" alt="enter image description here"></a></p>
  
  <ol start="2">
  <li>After I close the popup and add rows again, scrollbar appear when popup's height > maxHeight.  </li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/AJUVb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AJUVb.png" alt="enter image description here"></a></p>
  
  <p>Source code:</p>
  
  <pre><code>$.fancybox.open({
          href: '#advancedSearchWrapper',
          minHeight: 200,
          maxHeight: 450 ,
          fitToView: true,
          autoSize: false,
          autoWidth: true,
          modal: true,
          autoScale: true,
          padding: 30});
  </code></pre>