odoo
odoo copied to clipboard
[FIX] web: fix action dropdown not closing on click in mobile
In mobile, when there are too many action buttons in the control panel, they are put inside of a dropdown menu. Because view buttons call preventDefault on their click event, this event can't bubble up to the dropdown and allow it to close, which is undesirable. This commit fixes that.
-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
fixed in https://github.com/odoo/odoo/pull/98399