Opened 13 years ago

Last modified 13 years ago

#7704 confirmed Bug

Submenu shown on top of a parent menu may block mouse navigation

Reported by: typeof Owned by:
Priority: Normal Milestone:
Component: UI : Floating Panel Version: 3.0
Keywords: Cc:

Description

Perhaps this is the same problem as described in comment 15 to the ticket #4594

It only concerns mouse navigation (and so doesn't apply to the keyboard navigation). Please see the image attached and see how the submenu is placed. There is no way to navigate down the main context menu! (well ok, actually there is, but could be quite challenging what should not be the case).

I'd like to propose a little patch that deals with it. The simple solution is to move the submenu a few pixels (e.g. 5) to the left (or right in case of rtl lang).

In fact that's just a couple of keystrokes :)

In file http://svn.ckeditor.com/CKEditor/trunk/_source/plugins/floatpanel/plugin.js

change line 255 from

left += ( panelSize.width * ( rtl ? 1 : -1 ) );

to

left += ( ( panelSize.width + 5) * ( rtl ? 1 : -1 ) );

Attachments (1)

Blocked menu navigation.jpg (28.7 KB) - added by typeof 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by typeof

Attachment: Blocked menu navigation.jpg added

comment:1 Changed 13 years ago by Garry Yao

Status: newconfirmed
Version: 3.5.4 (SVN - trunk)3.0

comment:2 Changed 13 years ago by Frederico Caldeira Knabben

Keywords: HasPatch removed

This is not a optimal usable solution. We should mimic what the native applications do: show the sub-panel at the other side of the main one.

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