This is a migrated thread and some comments may be shown as answers.

multiselect does not show vertical scrollbar in firefox

1 Answer 799 Views
MultiSelect
This is a migrated thread and some comments may be shown as answers.
fereshteh
Top achievements
Rank 1
Veteran
fereshteh asked on 06 Sep 2020, 01:12 PM

hello every body.

i have a multiselect widget which i want to have fixed height and if items are more than the width , it should scroll vertically instead of increasing height size.
i used this css class and everything is fine in chrome. it has a vertical scroll bar.

.k-multiselect-wrap{height:30px;overflow:auto}

but when i open my project in firefox the scrollbar is not there , and i just can scroll vertically with mouse wheel.

could you please help me to fix this issue ?

 
 
 
 

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 08 Sep 2020, 10:37 AM

Hello,

I managed to resolve the problem after coming across this Stackoverflow thread. Bellow the needed change in the CSS:

    <style>
      .k-multiselect-wrap{
        height:30px;
        overflow-y:scroll
      }
    </style>

Here is a small example for reference.

Let me know how that works for you.

Regards,
Martin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
MultiSelect
Asked by
fereshteh
Top achievements
Rank 1
Veteran
Answers by
Martin
Telerik team
Share this question
or