Bug #83379
closed
Dropdown (paragraph f.e.) in RTE(htmlarea) instantly closes after opening
100%
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.
Updated by Torben Hansen over 7 years ago
I can confirm the issue. Tested on several TYPO3 7.6 websites.
Updated by Robert Vock about 7 years ago
As a workaround, you can use CTRL+click on the Selectboxes. Then they do not close immediately.
Updated by Robert Vock about 7 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?)
Updated by Michael Gebhart about 7 years ago
- TYPO3 Version changed from 7 to 8
Same Issue in TYPO3 8.7.9
Updated by Riccardo De Contardi about 7 years ago
- Related to Bug #80116: rte_ckeditor displaces dropdown overlays and jumps to top of page on crome/safari added
Updated by Anonymous about 7 years ago
this is still an issue on the latest release of v7 and v8
Updated by Xavier Perseguers about 7 years ago
- Has duplicate Bug #84479: Cannot change paragraph style added
Updated by Gerrit Code Review almost 7 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
Updated by Gerrit Code Review almost 7 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
Updated by Gerrit Code Review almost 7 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
Updated by Anonymous almost 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f3229adf8515c064b508414345ccfa1aabdf003e.