Opened 9 years ago

Closed 9 years ago

#13618 closed Bug (invalid)

Context menu hidden when editor hosted in a div with a high z-index

Reported by: Jonathan Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

Steps to reproduce

  1. Use the divarea plugin
  2. Embed the editor in an absolute div with a large z-index -> 10001
  3. Right click in the editor to invoke the context menu
  4. Notice that the context menu does not display. It is actually hidden underneath the absolutely positioned div.

Expected result

The context menu should display regardless of how the editor is hosted.

Actual result

The context menu is hidden

Other details (browser, OS, CKEditor version, installed plugins)

Chrome, IE11 CKEditor 4.5.1

Attachments (1)

contextmenu.png (7.2 KB) - added by Jonathan 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by Jonathan

Attachment: contextmenu.png added

comment:1 Changed 9 years ago by Piotrek Koszuliński

Resolution: invalid
Status: newclosed
Version: 4.5.1

There's http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-baseFloatZIndex to deal with such issues. Just set it to a value significantly grater than your div's z-index.

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