[BUGFIX] Avoid RTE context menu collapse to arrows only 78/50778/2
authorClaus Due <claus@namelesscoder.net>
Fri, 25 Nov 2016 11:57:44 +0000 (12:57 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 1 Dec 2016 20:53:45 +0000 (21:53 +0100)
commit5597dd6f67c5e520971188bf6c6ac79f1bfb45e3
tree5e387510a10ad4ae2c8284b36fbc82bc364bfce5
parentb73fcd3b27466e05d7debddd8293b56b9d756f2b
[BUGFIX] Avoid RTE context menu collapse to arrows only

Solves an issue in Chrome where calculating the height of
the editor window returns zero. Solved by hardcoding a
minimum context menu height of 150 pixels; applied via
Math.max()'ing the resolved height and 150.

Change-Id: Ie79507d661128f6aff31c12573b9c020b913ec8a
Resolves: #78795
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/50778
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/ContextMenu.js