How to change the CSS option from Select2 kartik?

Good time of day.
The page is created select2
echo $form->field($modelForm, 'applicationTypeId')->widget(\kartik\widgets\Select2::classname(), [
 'data' => $modelForm->selectSaleType,
 'pluginOptions' => [
 'width' => '155px'
 'pluginEvents' => [
// "select2:open" => "function() { }",
// "select2:close" => "function() {}",
 'options' => ['placeholder' => 'All', 'multiple' => true],

when you open a container window with the choices.
The question is, how do we make opening a container will display the entire list but only the select2?
Option 1: pluginEvents add select2:select2 open and close which need the container to change the parameter "max-height" style or class ".select2-container--krajee .select2-results > .select2-results__options", but do not know how to address him.
Option 2: is There any option from the select2 that would be opening the bottle has been opened fully?
Maybe someone else have options on how to solve the problem is that it worked only one select2 not at all?
July 4th 19 at 23:55
1 answer
July 4th 19 at 23:57
I found a solution. Suddenly a coma it is necessary. It is not elegant but working. It is necessary in the description of Select2 insert
'pluginEvents' => [
 "select2:open" => 'function() { $(".select2-results__options").css("max-height","2000px") }',

Find more questions by tags CSSJavaScriptPHPYii