PricingBlog

How to Remove double scroll bar

  • fuelmeup-1258945530948620408

    AY EYE

    1 year 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
  • lucasg-1258947428648882227

    Lucas G

    1 year ago

    Ah the editor has overflow as well as your wrapping div
  • Gotta check that out
  • fuelmeup-1258948482069434368

    AY EYE

    1 year ago

    do i need to wrap them in a div?
  • lucasg-1258953190716604476

    Lucas G

    1 year 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
  • fuelmeup-1258979119023263744

    AY EYE

    1 year ago

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

    Lucas G

    1 year ago

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

    AY EYE

    1 year ago

    Ok
  • lucasg-1259191678095331379

    Lucas G

    1 year ago

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