title: select2 dropdown auto width not working properly
body: <p>I am using select2 to set the <code>dropdownautowidth</code> to true on my SharePoint search page and it works perfectly on page load for the first time. After i search for some keyword, the page loads with search results and then dropdownautowidth is not setting true by somehow. I am using <code>$('#ddlCategory').select2({dropdownAutoWidth : true});</code> statement on my <code>document.ready</code> function.</p>
  
  <p>Any help is appreciated.</p>