diff --git a/src/views/filters/eav-filters.php b/src/views/filters/eav-filters.php index c8e82ab..940744d 100644 --- a/src/views/filters/eav-filters.php +++ b/src/views/filters/eav-filters.php @@ -154,7 +154,14 @@ class="slider-range" ?> - = $form->field($handler, $code, [ + + $classCss = 'js-scrollbar'; + if (\Yii::$app->mobileDetect->isMobile) { + $classCss = 'js-scrollbar-native'; + } else { + $classCss = 'js-scrollbar'; + } + echo $form->field($handler, $code, [ 'options' => [ 'class' => 'filter--group sx-filter ' . $class, 'tag' => 'section', @@ -164,7 +171,7 @@ class="slider-range"