selectize-bootstrap4-theme
selectize-bootstrap4-theme copied to clipboard
Selectize widget with dropdownParent: 'body' is not rendered correctly
When the selectize widget is initialized with dropdownParent: 'body' it is not rendered correctly at all.
It is wrongly positioned which could be fixed by setting position: absolute; css property for .selectize-dropdown.
But neither other css rules are applied to .selectize-dropdown. I would say that is because all the rules are defined as: .form-control.selectize-control .selectize-dropdown but in case of dropdownParent: 'body' the .selectize-dropdown is outside the .selectize-control element in the DOM tree.