Opened 9 years ago

Last modified 5 years ago

#2782 confirmed Bug

Editor inside DIV with "overflow: auto" causes displaced menus

Reported by: Jamie Whitney Owned by:
Priority: Normal Milestone:
Component: UI : Toolbar Version: 3.0
Keywords: Cc:

Description

Operating System: Windows Vista Browser: Firefox 3.0.5

I posted this in the forums: http://www.fckeditor.net/forums/viewtopic.php?f=6&t=12676&p=33211#p33211

I originally noticed this in v2.6.3, but tried the nightly build and it is present in that as well.

When you place an editor inside a <div /> tag with "overflow" set to "auto", and you scroll that div - menus for "Font", "Size", and "Format" are not appearing directly below the menu links. They are displaced below, proportionate to how much the div has been scrolled.

This does not happen in IE 7.0.

I've attached a screenshot showing this, and example code.

Attachments (3)

example.png (36.5 KB) - added by Jamie Whitney 9 years ago.
screenshot showing problem
code_example.htm (969 bytes) - added by Jamie Whitney 9 years ago.
replacebycode2.html (3.8 KB) - added by Jakub Ś 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by Jamie Whitney

Attachment: example.png added

screenshot showing problem

Changed 9 years ago by Jamie Whitney

Attachment: code_example.htm added

comment:1 Changed 9 years ago by Artur Formella

Component: GeneralUI : Toolbar
Keywords: Confirmed FF added
Version: SVNFCKeditor 2.4

Confirmed in FF. In IE and Chrome works fine.

Changed 5 years ago by Jakub Ś

Attachment: replacebycode2.html added

comment:2 Changed 5 years ago by Jakub Ś

Keywords: FireFox removed
Version: FCKeditor 2.43.0

This problem can still be reproduced in latest CKEditor 3.6.4 in every browser with below source

<div style="overflow: auto; width:800px; height:500px;" >
<p style="height:800px;">		
ckeditor dom ...

Paste the attached sample into _samples folder. Open menu and scroll down. You will see that dropdown is not attached to toolbar.

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy