Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] web: clipped dropdown on firefox in list views
On firefox and safari applying a position-sticky on an element inside an other element with an overflow is causing a rendering issue (see issue [1]). This was occuring with the dropdown `.o_optional_columns_dropdown` making it unusable as soon as the `overflow-x` triggered the horizontal scroll in the table. This commit works around this bug by moving the dropdown's menu out of the actual table and attachs it to the ListRender's root element. As this issue is specific to the Optional Fields dropdown, we implemented it only in the ListRender (and not for all Dropdowns). Also the issue is not present anymore in master since the Dropdown refactoring (see PR [2]). Note: a unique class identifying the ListRenderer has been introduced to handle multiple List Views rendered at the same time (in the same view, in modal...) as the the `t-portal` requires a global selector and doesn't allow to use relative one (i.e. searching only the parents ; cf. OWL feature request [3]). task-3696473 opw-3682280 opw-3697814 X-original-commit: 01cd6d4 [1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1887116 [2]: odoo#137691 [3]: odoo/owl#1428 X-original-commit: 9a9da10
- Loading branch information