Co-authored-by: Alexandre Díaz <alexandre.diaz@tecnativa.com>
Ensure that the title is displayed while the user holds the mouse click (while selecting content)
On the edit page of a channel, if the user is configured with the chat on the side, when clicking to add a subscriber, the list is truncated. Change the overflow of the div o_chatter displays the list correctly.
Previous of this commit, AppDrawer closes when the action have an id
that is defined in a menu item and no rpc calls are running.
Now AppDrawer closes in a more generic way, is enough that a
controller is attached to consider that the AppDrawer needs to be
closed.
When the screen wasn't small enough to trigger mobile mode but wasn't big enough to display properly search buttons, those got awkward.
@Tecnativa TT21728
Previous this commit, AppMenu doesn't hide in some situations.
Steps to reproduce (sometimes works, sometimes doesn't):
From Discuss App (refresh) open AppMenu and search some menu,
select the second in the list and press enter.
The action is launched correctly, but the AppMenu doesn't hide.
Now uses 'defer' to ensure that all has done to do the task
This patch fixes#1251.
The keydown event is faked in mobile chrome because it's not something reliable due to today's virtual keyboards prediction features. Typing a <kbd>C</kbd> character doesn't mean it will be there when user uses autocorrection/autoguessing.
Instead of that, we use now the `keydown` event exclusively for movement features, and `input` event exclusively for content changes in the search input element.
Apart from fixing search in mobile Chrome, it also makes code more readable.
The search input also disables autocompletion since it would be useless and annoying here.