[FIX] web: dropdown remains always open on Mobile
Before this commit, on pivot view when a user adds some groupBy the dropdown menu remains always open. This commit restore the same behaviour like on desktop. Steps to reproduce: * Open an app with a Pivot view * Select the Pivot view * Add one "groupBy" * The dropdown remains open => BUG Task ID: 2439742 closes odoo/odoo#64944 X-original-commit: 298f3900a8f4c80fe06585634ce97c7725cf7f7d Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com> Signed-off-by: rfr-odoo <rfr-odoo@users.noreply.github.com>
This commit is contained in:
@@ -47,9 +47,7 @@ odoo.define('web.PivotRenderer', function (require) {
|
||||
|
||||
onPatched(() => this._updateTooltip());
|
||||
|
||||
if (!this.env.device.isMobile) {
|
||||
useExternalListener(window, 'click', this._resetState);
|
||||
}
|
||||
useExternalListener(window, 'click', this._resetState);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user