Opened 14 years ago

Last modified 13 years ago

#5564 confirmed Bug

ContextMenu partially invisible if diaplyed above the cursor

Reported by: WebSpellChecker.net Owned by:
Priority: Normal Milestone:
Component: UI : Context Menu Version: 3.0.2
Keywords: Cc:

Description

Context menu may became partially invisible (unusable) if it is positioned above the cursor (i.e. there is no space for context menu to be displayed below cursor).

Can be easily reproduced with SCAYT enabled - when there are SCAYT items in the menu, also may be reproduced with table menus.

Current behavior: if there is no room for the menu under the cursor it is displayed above the cursor position, and if there is no room for the whole menu above cursor position it becomes partially invisible

Expected behavior: if there is no room for the menu under cursor position then the room above cursor position should be evaluated - if there is a room for the menu - menu should be displayed above cursor position, if there is no room for the menu, it should be displayed strating from the top of the document visible part (i.e. top: 0).

Attachments (4)

space_unavailable.png (105.9 KB) - added by Jakub Ś 13 years ago.
space_available.png (109.2 KB) - added by Jakub Ś 13 years ago.
space_available.2.png (109.2 KB) - added by Jakub Ś 13 years ago.
test2.html (848 bytes) - added by Jakub Ś 13 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 14 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.x

Milestone CKEditor 3.x deleted

Changed 13 years ago by Jakub Ś

Attachment: space_unavailable.png added

Changed 13 years ago by Jakub Ś

Attachment: space_available.png added

Changed 13 years ago by Jakub Ś

Attachment: space_available.2.png added

Changed 13 years ago by Jakub Ś

Attachment: test2.html added

comment:2 Changed 13 years ago by Jakub Ś

Status: newconfirmed

I have created sample test file that helps to reproduce the problem.

To reproduce just manipulate the height of a browser window or your web editor (E.g. firebug).

Issue is reproducible from CKE 3.0.2

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