Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#10723 closed Bug (wontfix)

overflow: scroll on parent causes toolbar to freeze at initial position

Reported by: Tieme Owned by:
Priority: Normal Milestone:
Component: UI : Toolbar Version: 4.0
Keywords: Cc:


When you add a CKEditor to a div inside a div with: "overflow: scroll" the toolbar won't move when scrolling the parent div...

    <div id="wrapper" style="overflow: scroll;">
        <div contenteditable="true">This is the editor</div>     

An example can be found here:

Attachments (1)

overflow-scroll.png (82.7 KB) - added by Tieme 11 years ago.
screenshot jsfiddle

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by Tieme

Attachment: overflow-scroll.png added

screenshot jsfiddle

comment:1 Changed 11 years ago by Tieme

I think the desired behaviour would be:

  • Keep the toolbar at the top of the editor div when there's enough room.
  • Move the toolbar to the bottom of the editor div when there's not enough room on top and there is enough room on the bottom.

comment:3 Changed 11 years ago by Piotrek Koszuliński

Resolution: wontfix
Status: newclosed

I agree with Olek's answer - there is an infinite number of configurations and we are not able to handle all of them. This one is so tricky itself that it would double the complexity of floatingspace.

BTW. you may be interested in sharedspace plugin with which you could pull all toolbars to some static location.

comment:4 Changed 11 years ago by Piotrek Koszuliński

Keywords: Toolbar overflow scroll removed
Version: 4.24.0

comment:5 Changed 11 years ago by Tieme

Thank you for the answer, I'll try the sharedspace plugin soon!

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy