PDA

View Full Version : Combobox List - scrollbar width issue



AJAIN32
22 Apr 2015, 8:48 AM
Hi,

I am using a dropdown in extjs which is having some data, I have used 'matchFieldWidth' false feature to change the width of the list items of combobox.
I am using width as 'auto' in the listConfig.
everything is working fine till i have not many dropdown values, width is working as expected but when there are many option a vertical scroll bar is coming as expected but some of the option are getting wrapped in two lines, it seems the width of the scrollbar is included with maximum width element so its getting wrapped.
please help in this issue !!

Thanks,
Ankit

Gary Schlosberg
22 Apr 2015, 9:48 AM
Sounds like a bug. Do you have a sample we could view to see what might be happening and hopefully suggest a workaround?

AJAIN32
23 Apr 2015, 6:20 AM
Hi,

Thanks for your Quick Response !!

I have tried to create the issue in fiddler, but in the main window it was using the horizontal scroll bar and i was not able to remove that by css.
If you use a dropdown with the listConfig width as auto and when there are many elements in dropdown, vertical scroll bar comes and then the elements with Max width started wrapping.

So width: auto is not working in case of vertical scroll bar. Any suggestions ?

Thanks,
Ankit

mboutros
9 Aug 2016, 6:38 AM
I created a fiddler for this issue. it happens in IE and FF
http://jsfiddle.net/mboutros/uz4h2m3n/

Glita9p
12 Jun 2018, 8:51 AM
I created a fiddler for this issue. it happens in IE and FF
http://jsfiddle.net/mboutros/uz4h2m3n/


This is still an issue in 6.5.3...