[FIX] web: fix optional columns list dropdown

Issue

	- Accounting > General ledger
	- Have 2-3 lines in the table
	  I added filters to have them
	- Toggle optional columns: (...) on the right

	There is an y scroll but you can't scroll
	more than half of the scrollbar.

Cause

	The cause is that the dropdown height is greater
	than the table height.

Solution

	Use data-display: static this way the element doesn't
	scroll with parent scroll and scrolling is working
	as expected on the dropdown

OPW-2291531

closes odoo/odoo#54320

X-original-commit: 9afd7b7ec7461a47ea8d7fbbd4884c24e1af9865
Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
This commit is contained in:
jvm-odoo
2020-07-10 10:48:19 +00:00
parent 3783b3855d
commit 8eb47d8165
@@ -981,6 +981,7 @@ var ListRenderer = BasicRenderer.extend({
'href': "#",
'role': "button",
'data-toggle': "dropdown",
'data-display': "static",
'aria-expanded': false,
});
$a.appendTo($optionalColumnsDropdown);