Project

General

Profile

Actions

Bug #82732

closed

Context menu is not completely visible when foldertree of filelist has a scrollbar

Added by Wittkiel Gruppe over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2017-10-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

http://api.jquery.com/height/

// 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

Actions #1

Updated by Gerrit Code Review over 6 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

Actions #2

Updated by Gerrit Code Review over 6 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

Actions #3

Updated by Gianluigi Martino over 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF