Results 1 to 5 of 5

Thread: Combobox List - scrollbar width issue

  1. #1
    Sencha User
    Join Date
    Oct 2013
    Posts
    200
    Answers
    3
    Vote Rating
    3
      0  

    Default Combobox List - scrollbar width issue

    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

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506
    Vote Rating
    296
      0  

    Default

    Sounds like a bug. Do you have a sample we could view to see what might be happening and hopefully suggest a workaround?

  3. #3
    Sencha User
    Join Date
    Oct 2013
    Posts
    200
    Answers
    3
    Vote Rating
    3
      0  

    Default

    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

  4. #4
    Sencha Premium User
    Join Date
    Dec 2011
    Posts
    2
    Vote Rating
    0
      0  

    Default Here is a fiddler

    I created a fiddler for this issue. it happens in IE and FF
    http://jsfiddle.net/mboutros/uz4h2m3n/

  5. #5
    Sencha User
    Join Date
    Jul 2017
    Posts
    64
    Answers
    6
    Vote Rating
    6
      0  

    Default

    Quote Originally Posted by mboutros View Post
    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...

Similar Threads

  1. ComboBox drop down list fails to display scrollbar
    By MalcolmDavis in forum Ext GWT: Discussion
    Replies: 2
    Last Post: 14 Jun 2011, 3:09 PM
  2. Replies: 1
    Last Post: 4 Feb 2010, 6:19 AM
  3. ComboBox Option list width is shorter than the defined width
    By srajakaruna in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 4 Aug 2008, 11:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •