mixitup icon indicating copy to clipboard operation
mixitup copied to clipboard

Browser is freezing up when working with 400+ data result set using MixItUp3 + Pagination plugin

Open rbenzing opened this issue 6 years ago • 2 comments

I am at a loss here. I am using server side to generate the data on page and using mixitup to filter and sort with pagination. However using the filters takes upwards of 30 seconds before it gets executed causing the browser to freeze up. What am I doing wrong?

Data Set contains 480 items. Not very much by any means so I'm lost as to why this is stalling. JS Code: var mixer = mixitup('.container', { selectors: { target: '.dealer-card' }, controls: { toggleLogic: 'and' }, pagination: { limit: 25 } });

I am using checkboxes as filters: <input type="checkbox" id="dealer_franchised" name="dealer_type" data-toggle=".franchised" />

Here is an html item example: `

6

Auto and Motorsports

xxx Rockingham Road, Derry, NH xxxxx

xxx-xxx-xxx

[email protected]

Independent
Collision Repair

Primary Contact:

Name | [email protected]

`

rbenzing avatar Jul 23 '20 15:07 rbenzing

Has anyone used over 400 items with MixItUp3? An Update: I did try the Dataset API as well but had similar problems with delay.

rbenzing avatar Jul 28 '20 17:07 rbenzing

Update: I found the issue being FontAwesome elements hitting the js for that on each item loading. Removing fontawesome made it performance wise amazing.

rbenzing avatar Jul 28 '20 20:07 rbenzing