odoo/odoo#194274
Created by fw-bot
Merged
at b5741f14b9a5d51fcac3fafaa79b45c91500d4f6
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- label
- odoo-dev:saas-17.2-17.0-autofocus-composer-mobile-gito-C25n-fw
- head
- 5f441c63d0b9f8b089b308d352e2d152ac15da5e
- merged
- 9 months ago by Discuss, Alexandre Kühn (aku)
| odoo/odoo | |
|---|---|
| 17.0 | #194122 |
| saas-17.2 | #194274 |
| saas-17.4 | #194308 |
[FW][FIX] mail: no autofocus on composer on mobile
Before this commit, when opening a channel on mobile the composer gets automatically focused.
This is not a problem on desktop, but when on mobile it triggers the opening of the system keyboard, occupying half the screen and requiring a "back" command to close it.
This happens because the function that opens the chat window will put focus on the composer.
This commit fixes the issue by only focusing the composer when not on mobile.
Forward-Port-Of: #194122