Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Perfomance issues with FireFox #382

Closed
albeva opened this Issue · 0 comments

2 participants

@albeva

I have stumbled upon a serious performance issue with select2. We have a rather complex page with many elements on it. The degradation in performance is considerable - upto 4 seconds to simply unfold a select box!

I have tracked down the culprit for this:
select version 3.1 select2.js

line 173:
$(document).delegate("*", "mousemove", function (e) {
replacing * with body improves a lot

line 481:
$(document).delegate("*", "mousedown touchend", function (e) {
Same thing - replacing * with body helps a lot.

@ivaynberg ivaynberg closed this in 281f314
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.