Right- click menu can show itself outside the RTE area, if a lot of content if present
It seems that the position where the right-click menu of RTE will appear depends on the amount of content in the RTE and can even appear outside the RTE area! See attached screenshots.
The position of the menu should be near the position of the cursor, instead.
Affects 7.6 and 8.4-dev too.
[BUGFIX] Fix incorrect position of RTE context menu
Fixes the position of the context menu to the cursor,
preventing it from being displayed outside of the
Tested-by: TYPO3com <firstname.lastname@example.org>
Reviewed-by: Manuel Glauser <email@example.com>
Tested-by: Manuel Glauser <firstname.lastname@example.org>
Reviewed-by: Anja Leichsenring <email@example.com>
Tested-by: Anja Leichsenring <firstname.lastname@example.org>