title: Unable to set height of html2canvas
body: <p>Configure the height of the generated canvas as follows , but the height of the actual generated canvas is the pixel height of the screen. I don't know why. Width also does not take effect</p>
  
  <pre><code>var opts = {
      logging: true,
      useCORS: true,  
      height:500,  
  };
  
  html2canvas(dom, opts).then(canvas =&gt;{
      ...
  })
  </code></pre>