Allow Select2 dropdown width to exceed parent DOM width.

Seems to work for all components using it.

xref https://github.com/galaxyproject/galaxy/pull/9167#issuecomment-577283724
This commit is contained in:
John Chilton
2020-01-22 12:20:04 -05:00
parent 80d36f4c1a
commit 224a92aaa2
+2 -1
View File
@@ -16,7 +16,8 @@ export default {
data: this.options,
placeholder: this.placeholder,
allowClear: !!this.placeholder,
enable: enabled
enable: enabled,
dropdownAutoWidth: true
};
if (this.containerClass) {
select2Options.containerCssClass = this.containerClass;