FriendsOfTYPO3 / rtehtmlarea

Further maintenance of the HTMLArea RTE, previously part of the TYPO3 Core
https://typo3.org/
GNU General Public License v2.0
9 stars 19 forks source link

Selectboxes bug in Chrome on MacOS #12

Open alexkyzym opened 6 years ago

alexkyzym commented 6 years ago

On click on any select using Chrome under MacOS there is a bug that doesn't allow a user to select any option. Dropdown is closed instead immediately. As a solution you may change Event.on(this.selectElement, 'click', function (event) { self.onTrigger(event); }); in file rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Toolbar/Select.js:103 to Event.on(this.selectElement, 'change', function (event) { self.onTrigger(event); });