Bug #82732
closedContext menu is not completely visible when foldertree of filelist has a scrollbar
100%
Description
If you rightclick on a folder at the bottom of the filelist-foldertree the context menu is opening but is not completely visible.
The error seems to be here sysext/backend/Resources/Public/JavaScript/ContextMenu.js:
var dimsWindow = {
width: $(document).width() - 20, // saving margin for scrollbars
height: $(document).height()
};
I think in "dimsWindow" should be the values of $(window) instead of $(document), because if there is a scrollbar, the context menu is always shown at the bottom.
// Returns height of browser viewport
$( window ).height();
// Returns height of HTML document
$( document ).height();
TYPO3: 8.7.7
Browser: Firefox 56
OS: Windows 8.1
Files
Updated by Gerrit Code Review about 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54390
Updated by Gerrit Code Review about 7 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54392
Updated by Gianluigi Martino about 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d0556bc114935d9120a1a3fc804718a04a0d4b16.