odoo/odoo#164903
Created by fw-bot
Merged
at 82f95242b29c442b0d116f90dfd91e21a05af980
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- 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:master-16.0-close-inline-text-option-dropdown-on-outside-click-divy-9hzv-fw
- head
- 89ce1d0d236ebb20f86b7a618ccab7e8b3276567
- merged
- 1 year ago by Website, Colin Louis (loco)
odoo/odoo | |
---|---|
16.0 | #162376 |
saas-16.3 | #164636 |
saas-16.4 | #164642 |
17.0 | #164646 |
saas-17.1 | #164765 |
saas-17.2 | #164786 |
saas-17.4 | |
18.0 | |
saas-18.1 | |
saas-18.2 | |
saas-18.3 | |
master | #164903 |
[FW][FIX] website: close dropdown of options on clicked outside
Step to reproduce:
- Drop a multiple text snippet
- Select the text and open the dropdown of any options
- Click any other text or anywhere outsite the snippet editor
- Dropdown remains open.
Dropdown should be close if we click outside.
Before this commit, when clicking anywhere outside the snippet editor panel, the opened dropdowns for inline text options would remain open.
This issue arose due to the presence of multiple HTML document objects. The Bootstrap dropdown was not being triggered outside the iframe. Therefore, in this commit, we handled the closing of the dropdown manually if clicked outside option panel.