Help forum

How to Remove double scroll bar

  • AY EYE

    2 years ago

    I have the quill package and set the scroll on the div to auto but its showing 2 scrolls...how do i fix this?
    1258945531418509433-image.png
  • Lucas G

    2 years ago

    Ah the editor has overflow as well as your wrapping div
  • Gotta check that out
  • AY EYE

    2 years ago

    do i need to wrap them in a div?
  • Lucas G

    2 years ago

    No, the wrapping div shouldn't need overflow
  • The editor should do it automatically
  • You had to do it twice for some reason right
  • AY EYE

    2 years ago

    yeah becasue it was extended beyond the div so i set overflow auto @Lucas G
  • Lucas G

    2 years ago

    If you give the editor's parent div a defined height, it will overflow properly
  • like max-height: 40rem or whatever you need
  • AY EYE

    2 years ago

    Ok
  • Lucas G

    2 years ago

    Should clarify. You can remove the overflow property to the div if you give it a height*
    👍1