javascript - Improving IE8 Performance with select2 v3.4.8 Library -


i trying improve performance of select2 v3.4.8 library in ie8.

essentially, have narrowed problem down call singleselect2's opening method parent abstractselect2's opening method. method call speaking of one:

this.parent.opening.apply(this, arguments); 

i have seen call take upwards of 5 seconds complete. in instances, has taken 10 seconds open dropdown in ie8.

i've made performance improvements already. example, rather adding the:

<div id="select2-drop-mask" class="select2-drop-mask"></div> 

to dom programmatically, added directly markup , set it's display:none. saves quite number of cycles because apparently, adding elements dom in ie8 expensive javascript.

but still want more performance improvements this. have increased performance 10-20% making change.

does have suggestions me?

we've cached data display in dropdown on client on page load. so, there 0 server calls being made when dropdown opening. performance bottleneck entirely inside select2 library itself.

unfortunately, unable upgrade our select2 library. doing @ least 8-point user story, it's prohibitive @ time undertake upgrade.

thanks who's able help!

-classtemplatet


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -