Textselect with jquery.Select2 lib takes a very long respond

More
10 years 10 months ago #42986 by evolutiveMedia
When I fill a textselect with the cities of my country, the combo does not respond in nearly 1 mn after pressing the mouse on it.

The problem is in the "select2" jqueries, if you change the 'id' name, in their tags, they become usable.

Hope this helps.

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #42988 by micker
i think you have too much value for this script ... maybe try to disable it in global config of flexicontent

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #42999 by ggppdk
Hello

i think this browser performance issue with select2 lib maybe fixable, when you speak of tag ID you speak of tag id for every <option> or for <select> ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #44784 by evolutiveMedia
Solved: I've set minimumInputLength=2 for the slowest combo and loading time is now acceptable.

ggppdk wrote: Hello

i think this browser performance issue with select2 lib maybe fixable, when you speak of tag ID you speak of tag id for every <option> or for <select> ?


You're right, select2 requires some tweaks regarding speed, such a useful control deserves it... and I was refering to <option>. Thank you so much!

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #45547 by ggppdk
Hello

for v2.1.3,

we updated select2 lib to latest version,

(v2.1.3 r1857 beta is available for download, which includes the above, it should has no new bugs except for 1 incomplete new feature)

will test performance of it and either provide a parameter for limiting select2 to selects with less than NNNNN options, or silently not add it if greater than NNNNN


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.297 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline