Opened 6 years ago

Closed 6 years ago

Last modified 6 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:

Description

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>     
    </div>

An example can be found here: http://jsfiddle.net/W8Dt4/

Attachments (1)

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

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by Tieme

Attachment: overflow-scroll.png added

screenshot jsfiddle

comment:1 Changed 6 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 6 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 6 years ago by Piotrek Koszuliński

Keywords: Toolbar overflow scroll removed
Version: 4.24.0

comment:5 Changed 6 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 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy