title: Quill: How to prevent toolbar from scrolling and set the height?
body: <p>I am trying to follow the sample at <a href="https://quilljs.com/playground/#autogrow-height" rel="nofollow noreferrer">https://quilljs.com/playground/#autogrow-height</a> but have problems setting the height of the editor box and preventing the toolbar from scrolling off-screen.</p>
  
  <p>My code is:</p>
  
  <pre><code>&lt;div id="editorcontainer" style="height:10em; min-height:100%; overflow-y:auto;"&gt;
     &lt;div id="editor" name="editor" style="min-height:100%; height:auto;"&gt;&lt;/div&gt;
  &lt;/div&gt;
  
  &lt;script&gt;
    var quill = new Quill("#editor",{
       modules: {
         toolbar: [ ... ]
           },
           scrollingContainer: "#editorcontainer",
           theme: "snow"
       });
  &lt;/script&gt;
  </code></pre>
  
  <p>The JS Filddle is available at <a href="https://jsfiddle.net/OldGeezer/xpvt214o/556844/" rel="nofollow noreferrer">https://jsfiddle.net/OldGeezer/xpvt214o/556844/</a></p>
  
  <p>The output looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/42uwY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/42uwY.png" alt="enter image description here"></a></p>
  
  <p>There are two problems:</p>
  
  <ol>
  <li>The tool bar is not fixed and scrolls.</li>
  <li>The vertical scrollbar has a scrollable region all the time, even when the editor is empty.</li>
  </ol>
  
  <p>How do I solve these two problems?</p>