Project

General

Profile

Actions

Bug #83379

closed

Dropdown (paragraph f.e.) in RTE(htmlarea) instantly closes after opening

Added by Frederik Holz over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2017-12-18
Due date:
% Done:

100%

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

Description

Using a Mac OS Version 10.12.6 and Chrome 63, it is not possible to change a Text in the RTE from p to h1 for example. After clicking on the select field it opens for a split-second and instantly closes again.
Tested in 7.6.23 and 7.6.16 (2 completely different installations) and on different macbooks from colleagues.

This does not occur in firefox and started happening in Chrome without any changes 1 or 2 weeks ago.


Related issues 2 (0 open2 closed)

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

Actions
Has duplicate TYPO3 Core - Bug #84479: Cannot change paragraph styleClosed2018-03-19

Actions
Actions #1

Updated by Torben Hansen over 6 years ago

I can confirm the issue. Tested on several TYPO3 7.6 websites.

Actions #2

Updated by Robert Vock over 6 years ago

As a workaround, you can use CTRL+click on the Selectboxes. Then they do not close immediately.

Actions #3

Updated by Robert Vock over 6 years ago

If you comment out this line, the select box does not close:
https://github.com/TYPO3/TYPO3.CMS/blob/v7.6.23/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Toolbar/Select.js#L246

Trace to get to this line:
Click-Event in Select.js:103
Event-Handler in Select.js:152

Apparently Chrome started to close the select if an option is changed with the click event.

If I change the event from a click to a mousedown, it works with Chrome on OS X, because the options are changed before the select opens. I'm not sure if this fix is ok for Windows and Linux. (Do selects open with mousedown or with click/mouseup?)

Actions #4

Updated by Michael Gebhart about 6 years ago

  • TYPO3 Version changed from 7 to 8

Same Issue in TYPO3 8.7.9

Actions #5

Updated by Riccardo De Contardi about 6 years ago

  • Related to Bug #80116: rte_ckeditor displaces dropdown overlays and jumps to top of page on crome/safari added
Actions #6

Updated by Frederik Holz about 6 years ago

this is still an issue on the latest release of v7 and v8

Actions #7

Updated by Xavier Perseguers about 6 years ago

  • Has duplicate Bug #84479: Cannot change paragraph style added
Actions #8

Updated by Gerrit Code Review almost 6 years ago

  • Status changed from New to Under Review

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56849

Actions #9

Updated by Gerrit Code Review almost 6 years ago

Patch set 2 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56849

Actions #10

Updated by Gerrit Code Review almost 6 years ago

Patch set 3 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56849

Actions #11

Updated by Frederik Holz almost 6 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF