Project

General

Profile

Actions

Bug #82780

closed

RTE CKeditor top-positioning for maximize and combopanels is broken in browsers with webkit

Added by Arne Bracht over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Won't have this time
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2017-10-17
Due date:
% Done:

100%

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

Description

Fullscreen mode works not correct after scrolling down an then press the button to maximize. It calculate the css class "cke_maximized" to negativ values for "top".

Affected is Chrome version Version 61.0.3163.100 (Offizieller Build) (32-Bit), tried also 64 bit with the same result.
Firefox is everything ok.

The problem is in \typo3\sysext\rte_ckeditor\Resources\Public\JavaScript\Contrib\ckeditor.js

It calculate the css class "cke_maximized" to negativ values for "top".

Test sets cke_maximized {top: 0px;}, but right click menus are now on false positions:

- y.addClass("cke_maximized");f();w=y.getDocumentPosition();y.setStyles({left:-1*w.x+"px",top:-1*w.y+"px"});
+ y.addClass("cke_maximized");f();w=y.getDocumentPosition();y.setStyles({left:-1*w.x+"px",top:"0px"});

Shows what i mean:
https://typo3.slack.com/files/U5STQ9VN2/F7HSA10U8/f__rderschule_landau__typo3_cms_8.7.8__-_google_chrome_15.10.2017_15_13_41.mp4


Files

ckeditor-maximized-chrome.png (45.1 KB) ckeditor-maximized-chrome.png Wittkiel Gruppe, 2017-10-18 12:01
ckeditor-maximized-firefox.png (58.4 KB) ckeditor-maximized-firefox.png Wittkiel Gruppe, 2017-10-18 12:01
ckeditor-panel.png (58 KB) ckeditor-panel.png Wittkiel Gruppe, 2017-10-18 12:01

Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #82841: page scroll up when click on drop down button of ckeditorClosed2017-10-23

Actions
Related to TYPO3 Core - Bug #80116: rte_ckeditor displaces dropdown overlays and jumps to top of page on crome/safariClosedBenni Mack2017-03-03

Actions
Related to TYPO3 Core - Bug #97144: Slow module scrolling in Google Chrome on LinuxClosedBenjamin Franzke2022-03-08

Actions
Has duplicate TYPO3 Core - Bug #83332: CKEditor: Browser jumps to top when selecting a style in TYPO3 8.7.9Closed2017-12-14

Actions
Actions

Also available in: Atom PDF