[IMP] mail: correctly support hidden textarea with emojis mixin
This commit fixes the scss file to correctly hide emojis button if they are linked to a Text-type field that is also hidden (using attributes, attrs, ...). Task-2209729 ENT PR odoo/enterprise#14027 UPG PR odoo/upgrade#2333 IAP PR odoo/iap-apps#284 closes odoo/odoo#63220 Signed-off-by: awa-odoo <awa-odoo@users.noreply.github.com>
This commit is contained in:
@@ -21,7 +21,7 @@ $o-mail-emoji-height: 2rem;
|
||||
// Emojis widgets should hide the emoji dropdown button when the field is invisible.
|
||||
// This is necessary because the button is added *after* the main element (and not inside)
|
||||
// (see '_attachEmojisDropdown' for more details)
|
||||
.o_invisible_modifier + .o_mail_add_emoji{
|
||||
.o_invisible_modifier + .o_mail_add_emoji, .o_invisible_modifier + textarea + .o_mail_add_emoji{
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user