Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Closed Issue: Autocomplete width problem - allow autocomplete flyout to be wider than textbox [13605]

$
0
0
When you have a small textbox and a list with long items, the list width is set to the textbox width.
In these cases the long items span accross multiple lines in the listbox. I would like to set an "auto" width so the list can grow with the items width.
If I comment this line of code I obtain the result:

// this._completionListElement.style.width = Math.max(1, elementBounds.width - 2) + 'px';

Perhaps adding a property would be a good solution.

if ( this._completionListWidth != "" )
this._completionListElement.style.width = this._completionListWidth;
else
this._completionListElement.style.width = Math.max(1, elementBounds.width - 2) + 'px';
Comments: Workaround found, see comments.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>