listbox wrapper expands beyond specified width of listbox; related to overflow in ".e-listbox-container"

if I put a listbox control inside of a div of 200px in a flexbox column that is, say 220px, a wrapper of the listbox adds about another 100px to it's width, and thus a horizontal scroll bar. It looks terrible.

(the same thing happens if I put the listbox control inside a CSS grid section).  

Looking at the source code in Chrome dev tools, I see, just below element.style{}, there is:

e-listbox-wrapper:not(.e-listbox-container) {

1 Reply 1 reply marked as answer

GK Gayathri KarunaiAnandam Syncfusion Team March 31, 2021 10:52 AM UTC

Hi Tom, 

We have checked your reported query. We are unable to replicate the reported issue in our end. We have prepared a sample based on this scenario. Please check the below link. 


If you are still facing the issue, kindly share the below details. 
  • If possible, try to reproduce the reported issue in provided sample or share the issue reproducible sample.
  • video demonstration of this issue.
  •   Syncfusion version you are using. 
  • If you are using customization, share the customization code.
 
Please provide the above requested information, based on that we will check and provide you a better solution quickly. 
 
Regards, 
Gayathri K 


Marked as answer
Loader.
Up arrow icon