Patch #25114

Context menu positioning inside positioned DOM elements

Added by Serge Galanin 9 months ago. Updated about 1 month ago.

Status:Needs feedbackStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:UI
Target version:Candidate for next minor release

Description

In my theme the #content element is positioned relatively. It leads to an incorrect positioning of the context menu wich living inside the #content. A most simple fix is to bubble the context menu up to the top of DOM. Can we use this way?

Patch based on r16333.

fix_context_menu_positioning.patch Magnifier (621 Bytes) Serge Galanin, 2017-02-17 14:13

context-menu-report.png (170 KB) Serge Galanin, 2017-02-17 14:14

0001-fix-context-menu-positioning.patch Magnifier (841 Bytes) Serge Galanin, 2017-02-20 13:18

History

#2 Updated by Pierre Maigne about 1 month ago

I applied this patch today (Redmine 3.4.3), as I also noticed that the context menu always appeared incorrectly away from the mouse pointer. The behavior is now has expected.

This very simple patch should be considered but a future release of Redmine.

Thank you Serge.

#3 Updated by Mischa The Evil about 1 month ago

  • Status changed from New to Needs feedback
  • Target version set to Candidate for next minor release

Also available in: Atom PDF