Project

General

Profile

Actions

Defect #25114

closed

Context menu is mispositioned when `#content` is relatively positioned by themes

Added by Serge Galanin about 9 years ago. Updated 6 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
UI
Target version:
Resolution:
Fixed
Affected version:

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.


Files

fix_context_menu_positioning.patch (621 Bytes) fix_context_menu_positioning.patch Serge Galanin, 2017-02-17 14:13
context-menu-report.png (170 KB) context-menu-report.png Serge Galanin, 2017-02-17 14:14
0001-fix-context-menu-positioning.patch (841 Bytes) 0001-fix-context-menu-positioning.patch Serge Galanin, 2017-02-20 13:18
25114-for-r24088.patch (543 Bytes) 25114-for-r24088.patch Go MAEDA, 2025-10-30 13:16
Actions #2

Updated by Pierre Maigne over 8 years 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.

Actions #3

Updated by Mischa The Evil over 8 years ago

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

Updated by Go MAEDA 4 months ago

Actions #5

Updated by Go MAEDA 6 days ago

  • Tracker changed from Patch to Defect
  • Subject changed from Context menu positioning inside positioned DOM elements to Context menu is mispositioned when `#content` is relatively positioned by themes
  • Status changed from Needs feedback to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the fix in r24417. Thank you for your contribution.

Actions

Also available in: Atom PDF