1a774f9e0e9dbc67cf9661d6aa07f5ce5640d779
Before this commit, clicking on an item from the emoji menu of a composer was not putting the emoji in the input. Steps to reproduce: - Open discuss app - Select a conversation with a composer - click on emoji menu in the right-side of the composer - click on an emoji in the emoji menu > the emoji has not been put in the input of the composer This problem was caused by a race condition with the event `focusout` on the emoji button and the `click` on an emoji item. `focusout` always happens before `click`, and `click` event following a `focusout` event can only happen when the element is visible. This was not the case, because the emoji container is removed from the `focusout`, so no `click` is triggered on the emoji item. This commit fixes the issue by listening on `mousedown` on the emoji item instead of `click`, which is triggered before `focusout`. closes odoo/odoo#30694
…
…
…
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%