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.
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
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.
- Status changed from New to Needs feedback
- Target version set to Candidate for next minor release
- 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.
Also available in: Atom
PDF